开发者社区> 问答> 正文

怎样用c语言实现rsa算法

怎样用c语言实现rsa算法

展开
收起
知与谁同 2018-07-16 17:52:17 1784 0
1 条回答
写回答
取消 提交回答
  • 12535
    * RSA.H - header file for RSA.C
    */

    /* Copyright (C) RSA Laboratories, a division of RSA Data Security,
    Inc., created 1991. All rights reserved.
    */

    int RSAPublicEncrypt PROTO_LIST
    ((unsigned char *, unsigned int *, unsigned char *, unsigned int,
    R_RSA_PUBLIC_KEY *, R_RANDOM_STRUCT *));
    int RSAPrivateEncrypt PROTO_LIST
    ((unsigned char *, unsigned int *, unsigned char *, unsigned int,
    R_RSA_PRIVATE_KEY *));
    int RSAPublicDecrypt PROTO_LIST
    ((unsigned char *, unsigned int *, unsigned char *, unsigned int,
    R_RSA_PUBLIC_KEY *));
    int RSAPrivateDecrypt PROTO_LIST
    ((unsigned char *, unsigned int *, unsigned char *, unsigned int,
    R_RSA_PRIVATE_KEY *));
    2019-07-17 22:56:05
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
数据+算法定义新世界 立即下载
袋鼠云基于实时计算的反黄牛算法 立即下载
Alink:基于Apache Flink的算法平台 立即下载