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

length

static fun length(): Int (source)

Obtain the length of the key in bytes (32).

Exceptions

UnsupportedOperationException - If XChaCha20Poly1305 support is not available.

Return
Int: The length of the key in bytes (32).