feat: 实现多个挑战并改进测试
- 重写p1实现纯Rust的hex到base64转换 - 完成p13 ECB剪切粘贴攻击和破解脚本 - 实现p33 Diffie-Hellman密钥交换算法 - 修复p9的PKCS#7测试用例 - 在common库添加gen_random_key和pkcs7_unpadding函数 - 更新workspace依赖管理
This commit is contained in:
@@ -11,7 +11,7 @@ fn main() {
|
||||
if let Ok(text) = std::str::from_utf8(&plaintext) {
|
||||
// 只有当转换成功时才调用is_valid_english
|
||||
if is_valid_english(text, None) {
|
||||
println!("Found valid sentence with key {}: {}", key, text);
|
||||
println!("Found valid sentence with key {key}: {text}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user