大学生
www.ldpnb.xyz
 
- 金币
- 661
- 好评
- 5
- 信誉
- 101
  
|
来晚了 写了一个一键解密工具
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import base64
cipher = "xpqix6yZxpiuxpqry6WuzZ6uxaG9xL+zx7m5xpi2x4yUwaKg"
raw = base64.b64decode(cipher)
data = list(raw)
print("密文长度:", len(data))
print()
for key in range(256):
decoded = bytes([b ^ key for b in data])
try:
text = decoded.decode('utf-8')
if any('\u4e00' <= ch <= '\u9fff' for ch in text):
print(f"密钥 {key:3d}: {text}")
except UnicodeDecodeError:
pass |
-
查看全部评分
总评分:好评 +1
金币 +1
|