nvat_nonce_create#

nvat_rc_t nvat_nonce_create(nvat_nonce_t *out_nonce, size_t length)#

Generate a secure random nonce with the given length.

Note that the required nonce length may vary by device.

System must have access to a trusted entropy source.

See also

OpenSSL RAND_bytes.