Skip to main content

seal_cipher

Function seal_cipher 

Source
fn seal_cipher(
    view: &CipherView,
    ctx: &mut KeyStoreContext<'_, KeySlotIds>,
    wrapping_key: SymmetricKeySlotId,
) -> Result<String, BlobEncryptionError>
Expand description

Seals a CipherView into an opaque blob string, using wrapping_key as the outer key that protects the cipher’s wrapped CEK.