2025-03-14 21:59:59 -06:00
|
|
|
# mcookie
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
> Generate random 128-bit hexadecimal numbers.
|
2025-03-14 21:59:59 -06:00
|
|
|
> 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:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`mcookie {{[-f|--file]}} {{path/to/file}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Generate a random number, using a specific number of bytes from a file as a seed for the randomness:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`mcookie {{[-f|--file]}} {{path/to/file}} {{[-m|--max-size]}} {{number_of_bytes}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Print the details of the randomness used, such as the origin and seed for each source:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`mcookie {{[-v|--verbose]}}`
|