摘要: 密钥格式常用的有PKCS1和PKCS8 C++使用openssl库这两种密钥格式都可以生成,生成密钥代码如下,使用不同的密钥格式生成不同的密钥: static bool generate_key(std::string & publicKey, std::string & privateKey) { 阅读全文
posted @ 2020-10-31 15:16 mingzhang 阅读(1806) 评论(0) 推荐(0) 编辑