Skip to content

Instantly share code, notes, and snippets.

@mrhyh
mrhyh / RSA非对称数据加密算法使用示例
Created November 6, 2015 09:21 — forked from flashlib/RSA非对称数据加密算法使用示例
RSA非对称数据加密算法使用示例
#include <stdio.h>
#include <string.h>
#include <openssl/rsa.h>
#include <openssl/applink.c>
void print_buf_hex( unsigned char *buf, int len )
{
int i;
for( i = 0; i < len; i++ )