Hmac One Time Password Generator
open class HmacOneTimePasswordGenerator(secret: ByteArray, config: HmacOneTimePasswordConfig)
Content copied to clipboard
Generator for the RFC 4226 "HOTP: An HMAC-Based One-Time Password Algorithm" (https://tools.ietf.org/html/rfc4226)
Constructors
Link copied to clipboard
fun HmacOneTimePasswordGenerator(secret: ByteArray, config: HmacOneTimePasswordConfig)
Content copied to clipboard
Functions
Link copied to clipboard
Creates an OtpAuthUriBuilder, which pre-configured with the secret, as well as the algorithm and code digits from the config.