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

length

static fun length(): Int (source)

Obtain the length of the nonce in bytes (24).

Exceptions

UnsupportedOperationException - If XChaCha20Poly1305 support is not available.

Return
Int: The length of the nonce in bytes (24).