= NULL)
35 fclose(file);
36
37 return ret;
38 }
39
40 //解密
41 int my_decrypt...}
94 fwrite(dst,1,dst_len,stdout);
95 return ret;
96 }
以上是一个示例,测试了私钥加密(签名)/公钥解密...7a71146998ad521bab336a49f65c90c4 data
7a71146998ad521bab336a49f65c90c4 data2
7a71146998ad521bab336a49f65c90c4 data3
公钥加密、私钥解密就不写了...unsigned char *to, RSA *rsa, int padding);
int RSA_public_decrypt(int flen, const unsigned char *from...,
unsigned char *to, RSA *rsa, int padding);
int RSA_private_decrypt(int flen,