密码学实验(RSA完整算法).docxVIP

  • 214
  • 0
  • 约2.25千字
  • 约 7页
  • 2018-08-22 发布于贵州
  • 举报
密码学实验 ——RSA算法实现 姓名: 班级: 学号: 教师: 助教: 程序功能函数定义 public static String toHexString(byte[] b) ——格式转换函数 public KeyPair generateKey() throws NoSuchAlgorithmException ——密钥对生成函数 protected byte[] PKCS1Ecryption(RSAPublicKey publicKey, String Data) ——PKCS1机制下RSA加密函数 protected byte[] PKCS1DeEcryption (RSAPrivateKey privateKey, byte[] raw) ——PKCS1机制下RSA解密密函数 protected byte[] OAEPEcryption(RSAPublicKey publicKey, String Data) ——OAEP机制下RSA加密函数 protected byte[] OAEPDeEcryption (RSAPrivateKey privateKey, byte[] raw) ——OAEP机制下RSA解密密函数 public static void main(String[] args) ——主函数(Main) 程序功能函数说

文档评论(0)

1亿VIP精品文档

相关文档