1oath_bin2hex(3)                     liboath                    oath_bin2hex(3)
2
3
4

NAME

6       oath_bin2hex - API function
7

SYNOPSIS

9       #include <oath.h>
10
11       void oath_bin2hex(const char * binstr, size_t binlen, char * hexstr);
12

ARGUMENTS

14       const char * binstr
15                   input binary data
16
17       size_t binlen
18                   length of input binary data binstr
19
20       char * hexstr
21                   output string with hex data, must have room for 2*binlen+1.
22

DESCRIPTION

24       Convert binary data to NUL-terminated string with hex data.  The output
25       hexstr is allocated by the caller and  must  have  room  for  at  least
26       2*binlen+1,  to  make room for the encoded data and the terminating NUL
27       byte.
28

SINCE

30       1.12.0
31

REPORTING BUGS

33       Report bugs  to  <oath-toolkit-help@nongnu.org>.   liboath  home  page:
34       http://www.gnu.org/software/liboath/  General  help using GNU software:
35       http://www.gnu.org/gethelp/
36
38       Copyright © 2009-2016 Simon Josefsson.
39       Copying and distribution of this file, with  or  without  modification,
40       are  permitted  in  any  medium  without royalty provided the copyright
41       notice and this notice are preserved.
42
43
44
45liboath                              2.6.2                     oath_bin2hex(3)
Impressum