createRandomSecret

fun createRandomSecret(): String

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

Due to the overhead of 160% of the Base32 encoding, only 10 bytes are needed for the random secret to generate a 16-byte array.