搜索资源列表
blowfish
- Blowfish是一个64位分组及可变密钥长度的分组密码算法,c语言编写的benchmark-Blowfish is a 64-bit block and a variable length key block cipher algorithm, c language of the benchmark
rc4
- 实现RC4加密算法,其是密钥长度可变的流加密算法簇。之所以称其为簇,是由于其核心部分的S-box长度可为任意,但一般为256字节。该算法的速度可以达到DES加密的10倍左右。RC4算法的原理很简单,包括初始化算法和伪随机子密码生成算法两大部分。-RC4 encryption algorithm to achieve, it is the variable key length stream cipher algorithm clusters. It is called a cluster, i
ANALYTICAL_GA
- The scr ipt fits a given general analytical law using Genetic Algorithms. Such law can depend on several input variables and various parameters, but it must have only one output, to be matched to the input variable y. The optimum coefficients a
diffie_hellman
- Implement Diffie-Hellman Key exchange protocol and demonstrate that at the end, both person will have a common Key. Do the following: 1. Set a variable p ( e.g. p = 37) and g (e.g. g = 5). 2. Generate a, a random number mod p. Now generate A,