MODHEX(1)

πŸ’– MODHEX(1) πŸ’–

okay bestie, welcome to the modhex page from the YubiKey C Library Manual β€” yes it's a real thing, and yes it's adorable once you get it. buckle up πŸŽ€


✨ NAME ✨

modhex β€” convert data to/from modhex encoding


🌸 SYNOPSIS 🌸

modhex [-d] [-h] DATA

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically modhex takes your data DATA and flips it between modhex, binary, and hex. that's the whole vibe. it's giving converter energy. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

the string DATA is the data to convert β€” that's the thing you're handing over, no cap.

  • -d β€” decode data instead of encoding it. the default is to encode, so if you don't say anything, she's encoding. 🫢
  • -h β€” use hex encoding for all non-modhex data. literally all of it. ✨

🌈 EXAMPLES 🌈

ModHex encode ASCII-string "test":

modhex test

Decode ModHex data "ifhgieif" into ASCII string:

modhex -d ifhgieif

ModHex encode hex-encoded data "b565716f":

modhex -h b565716f

Decode ModHex data "nghgibhv" and print hex-encode data:

modhex -d -h nghgibhv

πŸ“ SEE ALSO πŸ“

YubiKeys can be obtained from Yubico: http://www.yubico.com/


and that's the whole page, bestie β€” no notes, she ate. πŸ’…

this icon of a manual page is brought to you by yubico-c, Version 1.13 πŸŽ€ β€” the date is vibing in the original footer but the version and source are what matter, periodt. πŸ¦‹