modhex1
Convert data to/from modhex encoding
Usage
modhex [-d]
[-h]
DATA
Overview
Encode/decode modhex data DATA to binary and hex.
Options
The string DATA is the data to convert.
-
-d -
Decode data (the default is to encode data).
-
-h -
Use hex encoding for all non-modhex data.
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
History
- Arch Linux 2026-11-01 to Debian 9 (Stretch): the text shown here
- Debian 8 (Jessie)