Package dev. turingcomplete. kotlinonetimepassword
Types
This class is a decorator of the TimeBasedOneTimePasswordGenerator that provides the default values used by the Google Authenticator:
Available "keyed-hash message authentication code" (HMAC) algorithms. See: https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#Mac
The configuration for the HmacOneTimePasswordGenerator.
Generator for the RFC 4226 "HOTP: An HMAC-Based One-Time Password Algorithm" (https://tools.ietf.org/html/rfc4226)
A builder to create an OTP Auth URI as defined in Key Uri Format. This URI contains all necessary information for a TOTP/HOTP client to set up the code generation.
Generator to create a secure random secret via SecureRandom.
The configuration for the TimeBasedOneTimePasswordGenerator.
Generator for the RFC 6238 "TOTP: Time-Based One-Time Password Algorithm" (https://tools.ietf.org/html/rfc6238)