XOR 総当たり

短いXOR鍵を列挙し、想定平文で絞り込みます。 鍵長は最大2です。

入力: テキスト (UTF-8) / ファイル結果: テキスト

テキスト入力

実行すると結果が表示されます

使用例

Example keys and passwords are public test material.

Solve Cryptopals challenge 3

入力

aa03d88ce2507e9655147818.bin

34 bytes

ダウンロード

Expected answer

Key = 58: Cooking MC's like a pound of bacon
鍵長
1
サンプル長
100
サンプルオフセット
0
スキーム
Standard
NULLを保持
Off
印刷キー
On
16進数として出力
Off
クリブ(既知の平文文字列)
Cooking MC's
Recover a two-byte repeating key from an HTTP header

入力

bf33897ade01b41717b6262b.bin

24 bytes

ダウンロード

Expected answer

Key = 5859: Content-Type: text/plain
鍵長
2
サンプル長
100
サンプルオフセット
0
スキーム
Standard
NULLを保持
Off
印刷キー
On
16進数として出力
Off
クリブ(既知の平文文字列)
Content-Type:
Inspect recovered JSON bytes in hexadecimal

入力

dde2e12cea6995770956f685.bin

11 bytes

ダウンロード

Expected answer

Key = 2a: 7b 22 6f 6b 22 3a 74 72 75 65 7d
鍵長
1
サンプル長
100
サンプルオフセット
0
スキーム
Standard
NULLを保持
Off
印刷キー
On
16進数として出力
On
クリブ(既知の平文文字列)
{"ok":
Skip a four-byte container prefix before testing keys

入力

c9ba9a5db4318fefaeba56a7.bin

28 bytes

ダウンロード

Expected answer

Key = 5a: GET /robots.txt HTTP/1.1
鍵長
1
サンプル長
100
サンプルオフセット
4
スキーム
Standard
NULLを保持
Off
印刷キー
On
16進数として出力
Off
クリブ(既知の平文文字列)
GET /robots.txt
Reject an impossible crib without inventing a key

入力

1ec3215fc142d436c7b6ffa6.bin

3 bytes

ダウンロード

Expected answer

Empty result
鍵長
1
サンプル長
100
サンプルオフセット
0
スキーム
Standard
NULLを保持
Off
印刷キー
On
16進数として出力
Off
クリブ(既知の平文文字列)
Content-Type:

関連ツール

暗号化 / エンコード

操作の参考資料

元の技術文書を見る (English)