资源介绍
OpenSSL静态库附例子
printf("Begin encrypt...\n");
ret = RSA_public_encrypt(flen,in,out,r,RSA_NO_PADDING);
if (ret < 0)
{
printf("Encrypt failed!\n");
cin.get();
return 1;
}
printf("Size:%d\n", ret);
printf("ClearText:%s\n", in);
printf("CipherText(Hex):\n");
- 上一篇: openssl已编译好的静态库
- 下一篇: openssl 链接库