摘要: // Include necessary headers #include <openssl/evp.h> #include <openssl/err.h> #include <openssl/sm4.h> // Define the key and IV unsigned char key[16] 阅读全文
posted @ 2023-04-18 18:58 20201327刘谨铭 阅读(12) 评论(0) 推荐(0) 编辑
摘要: #实验一 密码引擎-4-国䀄算法交叉测试 目录 1 在Ubuntu中使用OpenSSL用SM4算法加密上述文件,然后用龙脉eKey解密,提交代码和运行结果截图 2 在Ubuntu中基于OpenSSL产生一对公私钥对(SM2算法) 2.1 创建EC参数和原始私钥文件 2.2 将原始的私钥文件,转换为p 阅读全文
posted @ 2023-04-18 10:42 20201327刘谨铭 阅读(20) 评论(0) 推荐(0) 编辑