Skip to main content

authenticator_code_at

Function authenticator_code_at 

Source
pub fn authenticator_code_at(secret: &str, unix_secs: u64) -> String
Expand description

The six-digit code an authenticator app holding the base32 secret shows at unix_secs.

ยงPanics

When secret is not base32.