1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

mcookie: add page (#3322)

This commit is contained in:
Natechawin Suthison 2019-10-11 00:40:57 +07:00 committed by Starbeamrainbowlabs
parent 7904a322f2
commit 8de5a4ca77

19
pages/linux/mcookie.md Normal file
View file

@ -0,0 +1,19 @@
# mcookie
> Generates random 128 bit hexadecimal numbers.
- 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`