11 lines
320 B
Markdown
11 lines
320 B
Markdown
|
|
# 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.
|