pub(crate) fn encrypt_blob_cipher(
view: &mut CipherView,
ctx: &mut KeyStoreContext<'_, KeySlotIds>,
) -> Result<Cipher, BlobEncryptionError>Expand description
Encrypts a CipherView into a blob-encrypted Cipher
Generates a cipher key if missing, seals the sensitive data into a single blob, and encrypts attachments and local data separately.