Skip to main content

totp_at

Function totp_at 

Source
pub fn totp_at(secret_b32: &str, unix_secs: u64) -> Result<String, String>
Expand description

TOTP for a base32 secret at a given time. Exposed so a caller can show the user the code their authenticator should be showing — used by nothing that authenticates, only by diagnostics.