pub fn encrypt_asset_rekey_with_prefix(
amk: &Amk,
file_id: &Uuid,
plaintext: &[u8],
nonce_prefix: [u8; 7],
replaces: Option<[u8; 7]>,
) -> Result<(AssetEncryption, Vec<u8>, [u8; 32]), CryptoError>Expand description
encrypt_asset_rekey with an explicit nonce_prefix — the deterministic, testable
core of the fold and the reuse refusal.