generateKey

fun generateKey(@Nullable keyLength: Int? = macMode.keySize): ByteArray

Generate a key based on current macMode.mode, or by providing a custom keyLength.