Skip to main content

setup

Function setup 

Source
pub fn setup(
    root: impl AsRef<Path>,
    real_pin: &str,
    decoy_pin: &str,
) -> Result<(), String>
Expand description

Create the two encrypted lanes with the production Argon2id KDF (memory-hard; ADR D1). Fails if a PIN is too weak, the PINs are equal, or the vault already exists.