Closed jonas-w closed 1 month ago
This fixes #171.
parse_totp_secret
TotpParams
generate_totp
totp_params.algorithm
totp_lite::totp_custom
This fixes #171.
parse_totp_secret
now returns theTotpParams
structgenerate_totp
now uses thetotp_params.algorithm
to pass the correct hash type tototp_lite::totp_custom
.generate_totp
also uses the parsed number of digits and the time period.