3 releases (breaking)
0.3.0 | Aug 28, 2024 |
---|---|
0.2.0 | Nov 17, 2023 |
0.1.0 | Sep 4, 2023 |
#714 in Cryptography
8,799 downloads per month
Used in 21 crates
(via deno_node)
135KB
179 lines
aead-gcm-stream
Pure Rust implementaion of AES GCM cipher for data streams.
use aead_gcm_stream::AesGcm;
use aes::Aes128;
let mut cipher = AesGcm::<Aes128>::new(&key);
cipher.init(nonce);
cipher.encrypt(&mut data);
let tag = cipher.final();
Dependencies
~785KB
~17K SLoC