forHotp

fun forHotp(initialCounter: Long, base32Secret: ByteArray): OtpAuthUriBuilder.Hotp

Creates a new OtpAuthUriBuilder for a HOTP OTP Auth URI.

See also

Parameters

base32Secret

the secret as a Base32 encoded ByteArray.