Convert a BIGNUM to a newly allocated hexadecimal string.
Declared in <openssl/bn.h>
<openssl/bn.h>
char* BN_bn2hex(BIGNUM const* a);
Heap string (free with OPENSSL_free()), or NULL on failure.