Skip to main content

seal

Function seal 

Source
fn seal(plain: Vec<u8>) -> Option<(Vec<u8>, [u8; 32])>
Expand description

Encrypt plain under a fresh key: the blob (nonce, ciphertext, tag) and the key.