Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@tmthecoder tmthecoder released this 29 Jan 19:27
1ba61c7
  • Breaking Change the HOTP & TOTP OTP getter methods to return an instance of OTPResult instead of u32
    • Made in order to allow for the as_string convenience formatter that provides a correct length zero-padded string
    • The u32 representation of the code can also be returned with as_u32 if desired
  • Add in time_until_refresh and time_until_refresh_with_start to provide a convenient way to get time until a refresh is needed