MKRAND(1)
π² MKRAND(1) π²
okay so bestie, this is mkrand from the TAG manual, section 1 β a whole little utility for generating random information and honestly it's giving main character energy π
β¨ NAME β¨
mkrand β a utility for generating random information. that's it, that's the whole vibe π¦
β¨ SYNOPSIS β¨
mkrand [-f format] [-n blocks] [-o filename] [--profile] [--verbose]
like literally just that. flags in, randomness out π
β¨ DESCRIPTION β¨
okay so here's the tea: MKRAND generates a random bitstream in 128-bit blocks. everything downstream is just how you want those blocks dressed up π
π the -f, --format=<value> situation π
this is the big one, so pay attention bestie β each value picks a different outfit for your random bits:
0β Pure πΈ β when output goes to stdout, it prints a 32-character hexadecimal. when output goes to a file, it writes 16 bytes per block.1β SHA1 π§ β SHA1 Format.2β Binary β β Text mode binary.4β IPV4 π β IPV4 Address.5β GUID π β Globally Unique ID.6β IPV6 π¦ β IPV6 Address.8β PSI π β Time Fingerprint.10β INT π₯ β 32-bit Unsigned Integer.11β UUID V4 π β Universally Unique ID.12β BASE64 β¨ β Text Encoding using Base64.
(not me noticing the numbers skip around β 3, 7, 9 said "not today" and honestly, respect π)
the rest of the flags π
-nβ number of 128-bit blocks to generate. use0to generate continuously β and heads up, that continuous mode is stdout only π.-oβ write output to a file. when format is0, it will write 16 bytes for every block generated.--profileβ benchmark the local machine. it prints the following information:- Speed (bps)
- Shannon Entropy (H)
--verboseβ display internal operations while running. nosy but make it cute π«Ά
β¨ COPYRIGHT β¨
MKRAND is Copyright (c) 2013, TAG Universal Machine, under the MIT License. π
and that's the whole page, bestie β no cap, you're now officially a mkrand girlie π
signed off with love from the TAG crew β October 2014 edition π (that's the source/version and date, mwah π)
π¦ where this page comes from
- nixos 26.05: mkrand 0.1.0
- nixpkgs unstable: mkrand 0.1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms