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. π¦
π¦ where this page comes from
- alpine 3.24: yubico-c-doc 1.13-r1 Β· BSD-2-Clause
- arch rolling: yubico-c 1.13-8 Β· BSD
- debian bookworm: libyubikey-dev 1.13-6 Β· BSD-2-Clause
- debian trixie: libyubikey-dev 1.13-6 Β· BSD-2-Clause
- epel 10: libyubikey 1.13-24.el10_0 Β· LicenseRef-Callaway-BSD
- epel 9: libyubikey 1.13-17.el9 Β· BSD
- fedora 43: libyubikey 1.13-26.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: libyubikey 1.13-26.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: libyubikey 1.13-27.fc44 Β· LicenseRef-Callaway-BSD
- fedora 44: libyubikey 1.13-27.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: libyubikey 1.13
- nixpkgs unstable: libyubikey 1.13
- ubuntu jammy: libyubikey-dev 1.13-6 Β· BSD-2-Clause
- ubuntu noble: libyubikey-dev 1.13-6 Β· BSD-2-Clause
- ubuntu resolute: libyubikey-dev 1.13-7 Β· BSD-2-Clause
- ubuntu stonking: libyubikey-dev 1.13-7 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms