feat: encryptor performance updated

This commit is contained in:
2023-09-01 23:50:15 +08:00
parent 0ad4e5ce28
commit aab2c97eaa
6 changed files with 83 additions and 105 deletions

View File

@@ -12,11 +12,15 @@ categories = ["cryptography"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
aead = "0.5.2"
aes = { version = "0.8.3", features = ["zeroize"] }
aes-gcm = { version = "0.10.2", features = ["zeroize"] }
cipher = "0.4.4"
ctr = "0.9.2"
ghash = "0.5.0"
subtle = "2.5.0"
zeroize = { version = "1.6.0", features = ["zeroize_derive"] }
[dev-dependencies]
hex = "0.4.3"
aes-gcm = { version = "0.10.2", features = ["zeroize"] }
benchmark-simple = "0.1.8"