aead-gcm-stream

Crates.ioaead-gcm-stream
lib.rsaead-gcm-stream
version0.3.0
sourcesrc
created_at2023-09-04 02:58:04.232004
updated_at2024-08-28 11:43:51.413246
descriptionPure Rust implementaion of AES GCM cipher for data streams
homepage
repository
max_upload_size
id962582
size335,307
Divy Srivastava (littledivy)

documentation

README

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);
cipher.init(nonce);

cipher.encrypt(&mut data);

let tag = cipher.final();
Commit count: 0

cargo fmt