pub fn encrypt_asset_vec(
file_key: &[u8; 32],
plaintext: &[u8],
) -> AssetEncryptionExpand description
Convenience: encrypt a whole slice in memory, returning (metadata, ciphertext).
pub fn encrypt_asset_vec(
file_key: &[u8; 32],
plaintext: &[u8],
) -> AssetEncryptionConvenience: encrypt a whole slice in memory, returning (metadata, ciphertext).