[xmly] feat #5: implement xmly decipher

This commit is contained in:
鲁树人
2024-09-18 01:23:48 +01:00
parent 2556d04120
commit 4deb777996
16 changed files with 471 additions and 0 deletions

30
Cargo.lock generated
View File

@@ -104,6 +104,15 @@ version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "cbc"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6"
dependencies = [
"cipher",
]
[[package]]
name = "cc"
version = "1.1.15"
@@ -271,6 +280,12 @@ version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "hex"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "hmac"
version = "0.12.1"
@@ -513,6 +528,7 @@ dependencies = [
"umc_ncm",
"umc_qmc",
"umc_utils",
"umc_xmly",
]
[[package]]
@@ -606,6 +622,20 @@ dependencies = [
"md-5",
]
[[package]]
name = "umc_xmly"
version = "0.1.0"
dependencies = [
"aes",
"byteorder",
"cbc",
"cipher",
"hex",
"lazy_static",
"thiserror",
"umc_utils",
]
[[package]]
name = "unicode-ident"
version = "1.0.12"