1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:02:09 +02:00
tldr/pages/linux/mcookie.md
2021-08-16 12:34:01 +02:00

20 lines
553 B
Markdown

# mcookie
> Generates random 128-bit hexadecimal numbers.
> More information: <https://manned.org/mcookie>.
- Generate a random number:
`mcookie`
- Generate a random number, using the contents of a file as a seed for the randomness:
`mcookie --file {{path/to/file}}`
- Generate a random number, using a specific number of bytes from a file as a seed for the randomness:
`mcookie --file {{path/to/file}} --max-size {{number_of_bytes}}`
- Print the details of the randomness used, such as the origin and seed for each source:
`mcookie --verbose`