3 releases (breaking)
0.3.0 | Aug 28, 2024 |
---|---|
0.2.0 | Nov 17, 2023 |
0.1.0 | Sep 4, 2023 |
#698 in Cryptography
9,791 downloads per month
Used in 19 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
~780KB
~17K SLoC