.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "oath_bin2hex" 3 "2.6.11" "liboath" "liboath" .SH NAME oath_bin2hex \- API function .SH SYNOPSIS .B #include .sp .BI "void oath_bin2hex(const char * " binstr ", size_t " binlen ", char * " hexstr ");" .SH ARGUMENTS .IP "const char * binstr" 12 input binary data .IP "size_t binlen" 12 length of input binary data \fIbinstr\fP .IP "char * hexstr" 12 output string with hex data, must have room for 2*\fIbinlen\fP+1. .SH "DESCRIPTION" Convert binary data to NUL\-terminated string with hex data. The output \fIhexstr\fP is allocated by the caller and must have room for at least 2*\fIbinlen\fP+1, to make room for the encoded data and the terminating NUL byte. .SH "SINCE" 1.12.0 .SH "REPORTING BUGS" Report bugs to . liboath home page: https://www.nongnu.org/oath-toolkit/ General help using GNU software: http://www.gnu.org/gethelp/ .SH COPYRIGHT Copyright \(co 2009-2020 Simon Josefsson. .br Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.