MKRAND(1)

πŸ“¦ version 0.1.0, in nixos 26.05, nixpkgs unstable

🎲 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. use 0 to generate continuously β€” and heads up, that continuous mode is stdout only πŸ™ˆ.
  • -o β€” write output to a file. when format is 0, 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 🫢

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