异或暴力破解

枚举短 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
保留空值
Off
輸出金鑰
On
以十六進位輸出
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
保留空值
Off
輸出金鑰
On
以十六進位輸出
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
保留空值
Off
輸出金鑰
On
以十六進位輸出
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
保留空值
Off
輸出金鑰
On
以十六進位輸出
Off
已知明文字串
GET /robots.txt
Reject an impossible crib without inventing a key

輸入

1ec3215fc142d436c7b6ffa6.bin

3 bytes

下載

Expected answer

Empty result
金鑰長度
1
样本長度
100
样本位移量
0
方案
Standard
保留空值
Off
輸出金鑰
On
以十六進位輸出
Off
已知明文字串
Content-Type:

相关工具

加密 / 編碼

操作参考

查看原始技术文檔 (English)