Skip to main content

escrow_master_key

Function escrow_master_key 

Source
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).