320 B
320 B
Random Nonce Generator
Generates a random nonce using the operating system's urandom function. This is suitable for cryptographic use.
Source library: os (Python standard library)
Parameters
- byte_num: The number of random bytes to generate. The output will be a hexadecimal string twice this length.