Skip to main content

aes256gcm_seal

Function aes256gcm_seal 

Source
pub fn aes256gcm_seal(
    key: &[u8; 32],
    nonce: &[u8; 12],
    aad: &[u8],
    plaintext: &[u8],
) -> Vec<u8> 
Expand description

AES-256-GCM seal ([MS-SMB2] AES-256-GCM cipher); appends the 16-byte tag.