1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/mcookie.md

21 lines
589 B
Markdown
Raw Normal View History

2019-10-11 00:40:57 +07:00
# mcookie
> Generates random 128-bit hexadecimal numbers.
> More information: <https://manned.org/mcookie>.
2019-10-11 00:40:57 +07:00
- Generate a random number:
`mcookie`
- Generate a random number, using the contents of a file as a seed for the randomness:
`mcookie {{[-f|--file]}} {{path/to/file}}`
2019-10-11 00:40:57 +07:00
- Generate a random number, using a specific number of bytes from a file as a seed for the randomness:
`mcookie {{[-f|--file]}} {{path/to/file}} {{[-m|--max-size]}} {{number_of_bytes}}`
2019-10-11 00:40:57 +07:00
- Print the details of the randomness used, such as the origin and seed for each source:
`mcookie {{[-v|--verbose]}}`