摘要:
#include <string.h>#include <openssl/pem.h>size_t bc_base64_encode(const void *data, int data_len, char *buffer){ BIO *b64 = BIO_new(BIO_f_base64()); BIO *bio = BIO_new(BIO_s_mem()); bio = BIO_push(b64, bio); BIO_set_flags(bio, BIO_FLAGS_BASE64_NO_NL); BIO_write(bio, data, data_len); BIO 阅读全文
posted @ 2013-01-10 14:32
秋忆
阅读(6240)
评论(0)
推荐(0)
浙公网安备 33010602011771号