二. 加密算法介绍对称加密算法对称加密算法用来对敏感数据等信息进行加密,经常使用的算法包含:DES(Data Encryption Standard):数据加密标准,速度较快,适用于加密大量数据的场合。3DES(Triple DES):是基于DES,对一块数据用三个不同的密钥进行三次加密,强度更高。...
分类:
其他好文 时间:
2014-09-28 22:29:35
阅读次数:
374
Installed the Ubuntu 14.04.1 on the Dell Inspiron 1420, now this computer had installed three OS, Windows Vista, RHEL7, Ubuntu 14.04.1...
分类:
其他好文 时间:
2014-09-09 12:42:28
阅读次数:
306
{ ? ? "curly" ? ? ? ? : true, ? ? // true: Require {} for every new block or scope ? ? "eqeqeq" ? ? ? ?: true, ? ? // true: Require triple equals (===) for comparison ? ? "immed" ...
分类:
Web程序 时间:
2014-08-26 13:51:56
阅读次数:
323
题目链接
题意:给出长度为n的字符串,字符串由‘1’,‘0’,‘’组成,其中‘’可以任意替换为‘1’,‘0’,求不存在连续3个相同子串的字符串的最多个数。
思路:我们可以利用二进制的形式来表示字符串,进行DFS。利用位运算的左移来表示在‘*’位置上放置‘1’,注意在递归的过程中注意判断之否存在3个连续相同的子串。
代码:
#include
#include
#i...
分类:
其他好文 时间:
2014-08-18 16:29:12
阅读次数:
222
[Definitions]
Here is the recursive definition of a binary tree:
A binary tree is either the empty set or a triple T = (x,L,R), where x is a node and L and R are disjoint binary trees, neither of wh...
分类:
其他好文 时间:
2014-08-18 01:34:43
阅读次数:
216
二. 加密算法介绍对称加密算法对称加密算法用来对敏感数据等信息进行加密,经常使用的算法包含:DES(Data Encryption Standard):数据加密标准,速度较快,适用于加密大量数据的场合。3DES(Triple DES):是基于DES,对一块数据用三个不同的密钥进行三次加密,强度更高。...
分类:
其他好文 时间:
2014-08-06 22:36:22
阅读次数:
280
二. 加密算法介绍对称加密算法对称加密算法用来对敏感数据等信息进行加密,经常使用的算法包含:DES(Data Encryption Standard):数据加密标准,速度较快,适用于加密大量数据的场合。3DES(Triple DES):是基于DES,对一块数据用三个不同的密钥进行三次加密,强度更高。...
分类:
其他好文 时间:
2014-07-13 10:49:43
阅读次数:
212
第一、使用密钥的编码
给定一段报文,一个密码函数和一个数字编码,就可以生成一段经过编码的密文,通过解码函数,解码秘钥,就可以将密文解码为原始的明文
第二、对称密钥加密技术
如果加密和解密使用的密钥是相同的,就成为对称密钥,流行的对称密钥加密算法为:DES、Triple-DES,RC2和RC4
对于对称密钥技术,暴力破解的方法就是尝试几乎所有可能,所有密钥位数越多,破解难度越大,目前普遍认为...
分类:
其他好文 时间:
2014-06-26 13:45:15
阅读次数:
240
Many people who transition from 35mm film to a
smaller digital camera are surprised to find that many of their digital images
are blurry. The underlyi...
分类:
其他好文 时间:
2014-05-08 23:51:44
阅读次数:
389