Skip to main content

seal_blob_with_nonce

Function seal_blob_with_nonce 

Source
pub fn seal_blob_with_nonce(
    blob_key: &[u8; 32],
    nonce: [u8; 12],
    plaintext: &[u8],
) -> Vec<u8> ⓘ
Expand description

seal_blob with an explicit nonce, so a metadata-blob writer can fold that same nonce into the derived blob_key salt before sealing (the salt depends on the nonce).