异或暴力破解

枚举短 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)