Companion

object Companion

Functions

Link copied to clipboard
fun createRandomSecret(): String

Generates a 16-byte secret as a Base32-encoded string.

Link copied to clipboard
fun createRandomSecretAsByteArray(): ByteArray

Generates a 16-byte secret as a Base32-encoded ByteArray.

Properties

Link copied to clipboard
val CONFIG: TimeBasedOneTimePasswordConfig