[#OPENSSL_buf2hexstr] = OPENSSL_buf2hexstr :mrdocs: Convert a byte buffer to a newly allocated colon‐separated hex string. == Synopsis Declared in `<openssl/crypto.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char* OPENSSL_buf2hexstr( unsigned char const* buf, long buflen); ---- == Return Value Newly allocated string such as "AB:CD", or NULL on error; free with OPENSSL_free. == Parameters [cols="1,4"] |=== | Name| Description | *buf* | Bytes to convert. | *buflen* | Number of bytes at `buf;` negative treats the buffer as unsigned. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#