Function generate_hotp

Source
pub async fn generate_hotp(
    secret: &str,
    counter: u64,
    digits: Option<u32>,
    hash: Option<SHAFamily>,
) -> Result<String, Error>