Skip to main content

seal_metadata_blob_with_nonce

Function seal_metadata_blob_with_nonce 

Source
pub fn seal_metadata_blob_with_nonce(
    amk: &Amk,
    blob_id: &Uuid,
    plaintext: &[u8],
    nonce: [u8; 12],
    replaces: Option<[u8; 12]>,
) -> Result<(Vec<u8>, [u8; 32]), CryptoError>
Expand description

seal_metadata_blob with an explicit nonce — the deterministic, testable core.