Base32Secret
This page explains the Base32Secret data class.
Info
This data class is used as the return value for generated secrets and contains the generated secret as string and as bytearray. As a Kotlin data class it supports destructuring of the values.
Consume
val (secretAsString, secretAsByteArray) = Base32Secret(
secretAsString = "IJAUCQSBIJAUEQKBIJBECQKCIJAUCQSCIJAUCQKCIFAUCQKC",
secretAsByteArray = [B@372f7a8d
)