1MODHEX(1)                  YubiKey C Library Manual                  MODHEX(1)
2
3
4

NAME

6       modhex - convert data to/from modhex encoding
7

SYNOPSIS

9       modhex [-d] [-h] DATA
10

DESCRIPTION

12       Encode/decode modhex data DATA to binary and hex.
13

OPTIONS

15       The string DATA is the data to convert.
16
17       -d
18           Decode data (the default is to encode data).
19
20       -h
21           Use hex encoding for all non-modhex data.
22

EXAMPLES

24       ModHex encode ASCII-string "test":
25
26           modhex test
27
28       Decode ModHex data "ifhgieif" into ASCII string:
29
30           modhex -d ifhgieif
31
32       ModHex encode hex-encoded data "b565716f":
33
34           modhex -h b565716f
35
36       Decode ModHex data "nghgibhv" and print hex-encode data:
37
38           modhex -d -h nghgibhv
39

SEE ALSO

41       YubiKeys can be obtained from Yubico: http://www.yubico.com/
42
43
44
45yubico-c                         Version 1.13                        MODHEX(1)
Impressum