From 8de5a4ca77f5d46e99e61be2afb3b3f24b32c9f8 Mon Sep 17 00:00:00 2001 From: Natechawin Suthison Date: Fri, 11 Oct 2019 00:40:57 +0700 Subject: [PATCH] mcookie: add page (#3322) --- pages/linux/mcookie.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/linux/mcookie.md diff --git a/pages/linux/mcookie.md b/pages/linux/mcookie.md new file mode 100644 index 000000000..c0473cfda --- /dev/null +++ b/pages/linux/mcookie.md @@ -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`