Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 353 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 353 Bytes

aead-gcm-stream

Pure Rust implementaion of AES GCM cipher for data streams.

image

use aead_gcm_stream::AesGcm;
use aes::Aes128;

let mut cipher = AesGcm::<Aes128>::new(&key, nonce);

cipher.encrypt(&mut data);

let tag = cipher.final();