Skip to main content

totp_from_uri

Function totp_from_uri 

Source
pub fn totp_from_uri(uri: &str, now: SystemTime) -> Result<Totp>
Expand description

Compute a TOTP code from the stored login.totp value: an otpauth URI, or a bare base32 secret (Bitwarden accepts both). The seed never leaves the process.