Skip to main content

open

Function open 

Source
pub fn open(
    key: &[u8; 32],
    nonce: &[u8; 12],
    aad: &[u8],
    ciphertext: &[u8],
) -> Result<Vec<u8>, Error>
Expand description

AES-256-GCM open. Expects ciphertext || 16-byte auth tag.