feat: sm4 jwe

This commit is contained in:
2025-07-24 23:51:36 +08:00
parent 4a41b4e6f8
commit 75f9c87738
4 changed files with 161 additions and 0 deletions

13
Cargo.toml Normal file
View File

@@ -0,0 +1,13 @@
[package]
name = "sm4-jwe"
version = "0.1.0"
edition = "2024"
[dependencies]
base64 = "0.22.1"
rand = "0.9.2"
rust_util = "0.6.47"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.141"
sm4-gcm = "0.1.2"
zeroize = "1.8.1"