pub fn escrow_master_key(
master: &[u8; 32],
passphrase: &[u8],
tier: DeviceTier,
) -> Result<WrappedSecret, BackupError>Expand description
Escrow the account master key under a recovery passphrase (Argon2id + AES-256-GCM).
pub fn escrow_master_key(
master: &[u8; 32],
passphrase: &[u8],
tier: DeviceTier,
) -> Result<WrappedSecret, BackupError>Escrow the account master key under a recovery passphrase (Argon2id + AES-256-GCM).