tuweni / org.apache.tuweni.crypto.sodium / XChaCha20Poly1305 / Key / bytesArray

bytesArray

fun bytesArray(): ByteArray! (source)

Obtain the bytes of this key. WARNING: This will cause the key to be copied into heap memory. The returned array should be overwritten when no longer required.

Return
ByteArray!: The bytes of this key.