summaryrefslogtreecommitdiffhomepage
path: root/program.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-05-19 15:45:37 +0200
committerJo-Philipp Wich <jo@mein.io>2022-05-19 16:27:54 +0200
commit8da140fd5548cfab0a2e945091ec78416b1a0d14 (patch)
treef62000eb23addab8b505fb8bf94ce8dcd6e54926 /program.c
parent9a724238c27dec032fe2ea75c4975718b0857f98 (diff)
lib: introduce hexenc() and hexdec()
Add two new functions to deal with encoding and decoding of hexadecimal digit strings: - hexenc() - convert the given input value into a lower case hex digit string, implicitely converting the input argument to a string value if needed - hexdec() - decode the given input hex digit string into a byte string, skipping whitespace or optionally specified characters in the input Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'program.c')
0 files changed, 0 insertions, 0 deletions