このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
crypt:xor [2012/02/18 04:54] kikuzou |
crypt:xor [2014/05/07 02:32] kikuzou |
||
---|---|---|---|
行 2: | 行 2: | ||
====== XOR ====== | ====== XOR ====== | ||
+ | * 排他的論理和(XOR)を使用した暗号 | ||
===== xortools ===== | ===== xortools ===== | ||
行 26: | 行 27: | ||
import sys | import sys | ||
from xortools import single_byte_xor | from xortools import single_byte_xor | ||
+ | |||
+ | if len(sys.argv) == 1: | ||
+ | print " | ||
+ | sys.exit() | ||
key = 0 | key = 0 | ||
行 81: | 行 86: | ||
https:// | https:// | ||
</ | </ | ||
+ | |||
+ | ===== XORStrings ===== | ||
+ | * [[http:// | ||
+ | |||
+ | ===== Converter ===== | ||
+ | * [[http:// | ||