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

length

static fun length(): Int (source)

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

Exceptions

UnsupportedOperationException - If AES256-GSM support is not available.

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