摘要: 摘自:https://www.cnblogs.com/yuguangyuan/p/9439225.html popen可以是系统命令,也可以是自己写的程序a.out。 假如a.out就是打印 “hello world“ 在代码中,想获取什么,都可以通过popen获取。 比如获取ls的信息, 比如获取 阅读全文
posted @ 2020-03-21 18:35 LiuYanYGZ 阅读(385) 评论(0) 推荐(0) 编辑
摘要: #include <string.h> #include <openssl/rsa.h> #include <openssl/pem.h> #include <openssl/err.h> #include <openssl/sha.h> #include <openssl/crypto.h> /* 阅读全文
posted @ 2020-03-21 18:26 LiuYanYGZ 阅读(1689) 评论(0) 推荐(0) 编辑
摘要: 1.签名 #include <string.h> #include <openssl/rsa.h> #include <openssl/pem.h> #include <openssl/err.h> #include <openssl/sha.h> #include <openssl/crypto. 阅读全文
posted @ 2020-03-21 17:47 LiuYanYGZ 阅读(3244) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-21 00:53 LiuYanYGZ 阅读(322) 评论(0) 推荐(0) 编辑