会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
阮減显
上一页
1
2
3
4
5
6
7
8
9
10
···
15
下一页
2016年11月4日
m序列
摘要: 产生m序列移位寄存器是一种逻辑电路,1阶,2阶...的电路图各不相同。 一般使用本原多项式计算出各阶数电路图。 一般的多项式为 f(x) = c0 * x^0 + c1 * x^1 + c2 * x^2 + c3 * x^4 ... 则4阶本原多项式 f(x) = 1 + x + x^4...
阅读全文
posted @ 2016-11-04 16:30 阮減显
阅读(844)
评论(0)
推荐(0)
2016年10月21日
openssl AES加密
摘要: 此代码不涉及ECB和CBC等关联加密 #include #include #include #include #include #pragma comment(lib, "libeay32.lib") #pragma comment(lib, "ssleay32.lib...
阅读全文
posted @ 2016-10-21 15:12 阮減显
阅读(225)
评论(0)
推荐(0)
2016年10月20日
openssl pem密钥文件rsa加密解密例子
摘要: 准备工作 命令行加密解密,用与比对代码中的算法和命令行的算法是否一致 C:\openssl_test>openssl rsautl -encrypt -in data.txt -inkey public.pem -pubin -out data.en C:\openssl_test>opens...
阅读全文
posted @ 2016-10-20 19:57 阮減显
阅读(757)
评论(0)
推荐(0)
openssl pem文件的读取
摘要: 准备工作 生成私钥文件(里面已包含公钥) openssl genrsa -out private.pem 1024 从私钥文件中提取公钥 openssl rsa -in private.pem -pubout -out public.pem 如果用 openssl rsa -in pr...
阅读全文
posted @ 2016-10-20 16:09 阮減显
阅读(4389)
评论(0)
推荐(0)
2016年10月19日
openssl RSA基本加密解密
摘要: #include #include #include #include #include #include int main(int argc, char *argv[]){ // 产生RSA密钥对 RSA *rsaKey = RSA_generate_key(1024, 65537, NU...
阅读全文
posted @ 2016-10-19 12:27 阮減显
阅读(1159)
评论(0)
推荐(0)
2016年10月18日
openssl RSA加密方法初识
摘要: 作为非对称加密算法,有两对密钥 一般用法 加密结果=RSA_EN(数据,公钥); 解密结果=RSA_DE(数据,私钥); RSA填充 (RSA_public_encrypt和RSA_private_decrypt自动完成,不用操心,这里只做些说明) RSA也是对数据分块处理,一般有...
阅读全文
posted @ 2016-10-18 13:54 阮減显
阅读(370)
评论(0)
推荐(0)
2016年10月9日
openssl初步使用
摘要: centos平台 md5.c #include #include #include //#include "../e_os.h"#include #include static char *hex2str(unsigned char *md){ int i; static c...
阅读全文
posted @ 2016-10-09 18:02 阮減显
阅读(178)
评论(0)
推荐(0)
openssl编译安装-各种蛋疼
摘要: arm平台 ubuntu Linux xxxxxx 3.0.62 #2 PREEMPT Tue Apr 2 20:14:12 CST 2013 armv7l armv7l armv7l GNU/Linux 下载最新版openssl-1.1.0b编译不过 后来下载 openssl-1.0.2g才行 .
阅读全文
posted @ 2016-10-09 13:05 阮減显
阅读(816)
评论(0)
推荐(0)
2016年7月25日
vc连接mysql
摘要: 官方网站 http://dev.mysql.com/doc/refman/5.7/en/c-api-function-overview.html #include #include #include #include int main(){ MYSQL mysql; MYSQL_RES *r...
阅读全文
posted @ 2016-07-25 16:24 阮減显
阅读(133)
评论(0)
推荐(0)
2016年7月22日
oracle迁移
摘要: #导出scott的数据,排除 table_a table_bexpdp system/password schemas=scott directory=datadir dumpfile=scott_%U.dmp PARALLEL=2 CLUSTER=no logfile=scott.log ...
阅读全文
posted @ 2016-07-22 15:43 阮減显
阅读(106)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
15
下一页
导航
博客园
首页
新随笔
联系
订阅
管理
公告