1
0

refactor: 统一workspace依赖管理和完成p12 ECB字节逐步解密

- 在根Cargo.toml中添加workspace.dependencies统一管理版本
- 所有问题crate改用workspace依赖声明
- 为p12添加依赖并实现ECB字节逐步解密攻击
- 添加cryptopal_book/.gitignore忽略构建产物
This commit is contained in:
2025-07-31 17:46:22 +08:00
parent 6f54d41c8e
commit 23d016407c
16 changed files with 118 additions and 22 deletions

10
Cargo.lock generated
View File

@@ -90,6 +90,12 @@ dependencies = [
[[package]]
name = "p12"
version = "0.1.0"
dependencies = [
"anyhow",
"base64",
"common",
"rand",
]
[[package]]
name = "p13"
@@ -214,9 +220,9 @@ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
[[package]]
name = "rand"
version = "0.9.1"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
dependencies = [
"rand_chacha",
"rand_core",