码迷,mamicode.com
首页 >  
搜索关键字:encrypt trail    ( 898个结果
poco库 RSA加解密
#include "poco/Crypto/Cipher.h"#include "poco/Crypto/CipherFactory.h"#include "Poco/Crypto/RSAKey.h"using Poco::Crypto::Cipher;using Poco::Crypto::Cip ...
分类:其他好文   时间:2017-05-20 12:26:33    阅读次数:183
RSA解密解密
#!/usr/bin/env python # -*- coding:utf-8 -*- import rsa import base64 # ######### 1. 生成公钥私钥 ######### pub_key_obj, priv_key_obj = rsa.newkeys(256) pub... ...
分类:其他好文   时间:2017-05-17 23:34:37    阅读次数:224
MySQL加密和解密案例
1 define("ENCRYPT",'2998a15c0cd853edad7');//密钥key 2 3 4 被存储的数据库的字段设置成blob格式(二进制) 5 //AES_ENCRYPT 加密 6 insert into `ks_user`(user_name,user_pwd) values... ...
分类:数据库   时间:2017-05-17 18:18:53    阅读次数:153
Cstring与char*、String转Cstring(unicode编码)
unicode编码下,cstring与char*、String转Cstring的转换方法: 1 . CSstring转char * wchar_t *psw_wchar = psw.GetBuffer(); //获取psw的宽字符用数组保存 psw.ReleaseBuffer(); int nLen ...
分类:其他好文   时间:2017-05-16 14:58:15    阅读次数:165
golang 轮训加密算法
Roy's friends has been spying on his text messages, so Roy thought of an algorithm to encrypt text messages. Encryption Algorithm is as follows:We say ...
分类:编程语言   时间:2017-05-15 14:21:44    阅读次数:212
紫书第五章训练3 D - Throwing cards away I
D - Throwing cards away I Given is an ordered deck of n cards numbered 1 to n with card 1 at the top and card n at the bottom. The following operation ...
分类:Windows程序   时间:2017-05-12 00:13:16    阅读次数:267
mysql数据库导入到oracle数据库
首先,写一个cmd脚本 xx.cmd 再写一个bat脚本xx.bat serviceName一般就是orcl 若要加载sql则 写一个ctl文件xx.ctl 指定分隔符,字段终止于X'09' (很重要),是一个制表符(TAB),如果用逗号分割就将X'09'替换为',' 指字段终止于'|' ...
分类:数据库   时间:2017-05-10 18:56:25    阅读次数:225
wcf布到服务器下载文件大小限制问题
大家都知道,wcf上传文件是有大小限制的,对,上传下载都有限制,但是关于wcf的配置,网上确实不太好找或者说是不准确不全面 记住,要有security这个节点 ...
分类:其他好文   时间:2017-05-03 14:38:58    阅读次数:195
SparseArray
Recommended data-structures: ArrayMap<K,V> in place of HashMap<K,V> ArraySet<K,V> in place of HashSet<K,V> SparseArray<V> in place of HashMap<Integer, ...
分类:其他好文   时间:2017-05-03 11:36:50    阅读次数:144
nodejs中aes-128-cbc加密和解密
和java程序进行交互的时候,java那边使用AES 128位填充模式:AES/CBC/PKCS5Padding加密方法,在nodejs中采用对应的aes-128-cbc加密方法就能对应上,因为有使用向量(iv),所以nodejs中要用createCipheriv方法,而不是createCipher ...
分类:Web程序   时间:2017-04-29 01:20:19    阅读次数:276
898条   上一页 1 ... 56 57 58 59 60 ... 90 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!