createRandomSecretAsByteArray

fun createRandomSecretAsByteArray(): ByteArray

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

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.