Skip to main content

aes_gcm

Function aes_gcm 

pub fn aes_gcm<I: Into<String>>(
    keys: impl IntoIterator<Item = (I, [u8; 32])>,
) -> Arc<dyn Codec>
Expand description

An AES-256-GCM codec. keys are (key ID, 32-byte key); the first one encrypts new payloads.