commands.sh

mcookie

linux

Generate random 128-bit hexadecimal numbers.

More info →

Options (3)

-f, --fileboolean

Generate a random number, using the contents of a file as a seed for the randomness

Example: mcookie {{[-f|--file]}} {{path/to/file}}
-m, --max-sizeboolean

Generate a random number, using a specific number of bytes from a file as a seed for the randomness

Example: mcookie {{[-f|--file]}} {{path/to/file}} {{[-m|--max-size]}} {{number_of_bytes}}
-v, --verboseboolean

Print the details of the randomness used, such as the origin and seed for each source

Example: mcookie {{[-v|--verbose]}}

Examples (4)

Generate a random number

Generate a random number, using the contents of a file as a seed for the randomness

mcookie [-f|--file] path/to/file

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

Print the details of the randomness used, such as the origin and seed for each source

mcookie [-v|--verbose]
made by @shridhargupta | data from tldr-pages