toBytes

abstract fun toBytes(): ByteArray

Get the underlying 32 bytes of the secret key.