Skip to main content

open_blob

Function open_blob 

Source
pub fn open_blob(
    blob_key: &[u8; 32],
    wire: &[u8],
) -> Result<Vec<u8>, CryptoError>
Expand description

Open a metadata-blob wire string under blob_key. Rejects an unknown crypto_suite_id (fail-closed) before attempting decryption, and rejects tampered ciphertext.