登录
首页 » 加密解密 » 在 c + + 中实现 RC4 算法

在 c + + 中实现 RC4 算法

于 2023-04-10 发布 文件大小:1.61 kB
0 248
下载积分: 2 下载次数: 1

代码说明:

首先,RC4算法生成一个“状态”,这开始为包含在订单值0-255的数组。然后该算法通过阵列迭代和周围交换的元素,基于所述键值。原始密钥然后可被丢弃,因为RC4只使用状态来创建一个伪随机密钥流,由算法选择的元素和吐出出来。密钥流的所述状态单靠额外的好处是,原来的密钥并不需要被保存在内存中。算法初始化状态。执行密钥调度算法(KSA)上的状态下,根据所输入的键(然后其可以被丢弃)。在算法选择(现炒)的状态,并将其输出作为密钥流元素。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这是一个获取ACCESS 数据库码的强悍软件, 适用于ACCESS2
    这是一个获取ACCESS 数据库密码的强悍软件, 适用于ACCESS2-This a password access to the Access database software intrepid apply to ACCESS2
    2022-03-04 05:45:26下载
    积分:1
  • Well
    著名图论问题之一。邮递员从邮局出发送信,要求对辖区内每条街,都至少通过一次,再回邮局。在此条件下,怎样选择一条最短路线?此问题由中国数学家管梅谷于1960年首先研究并给出算法,故名。-Well-known graph theory problems. Postman deliver a letter from the post office proceed to require every street within the right area, at least through the time, return to post office. Under these conditions, how to select a shortest route? This issue by the Chinese mathematician Mei Gu tube study in 1960, and gives the first algorithm, hence the name.
    2022-06-01 03:25:54下载
    积分:1
  • Delphi写的base64算法程序
    Delphi写的base64算法程序--Base64 algorithm program writed by Delphi
    2022-03-04 22:03:17下载
    积分:1
  • 用MFC实现的对任意长度的文件的MD5,得到的是标准的32位十六进制数...
    用MFC实现的对任意长度的文件的MD5加密,得到的是标准的32位十六进制数-Using MFC to achieve for any length of document MD5 encryption, receive the standard 32-bit hexadecimal number
    2022-07-13 13:07:32下载
    积分:1
  • 山排序算法:基本思想:全序无序分离…
    希尔排序算法: 基本思想:将整个无序序列分割成若干小的子序列分别进行插入排序。 序列分割方法:将相隔某个增量h的元素构成一个子序列。在排序过程中,逐次减小这个增量,最后当h减到1时,进行一次插入排序,排序就完成。增量序列一般采用:ht=2t-1,1≤t≤[log2n],其中n为待排序序列的长度。-Hill sorting algorithm: the basic idea: the whole sequence disorder is separated into a number of small sub-sequences respectively Insertion Sort. Sequence segmentation method: h will be separated by an incremental elements constitute a subset of sequences. In the sort process, the successive decrease of the increment, and finally reduced to one when h when an insertion sort, sort completed. Incremental sequence generally use: ht = 2t-1, 1 ≤ t ≤ [log2n], in which n is the length of sequence to be sorted.
    2022-02-06 21:23:34下载
    积分:1
  • AES算法的C + +源代码
    C++版AES源代码 我在这里献丑了,此加密算法的扩展功能,大家发挥自己的能力写写吧!-C++ AES source
    2022-02-02 08:31:07下载
    积分:1
  • 本代码实现一个保留方案(计划)。
    this code implement an Order Preserving Encryption Scheme (OPES).
    2023-03-12 23:00:04下载
    积分:1
  • 使用来的,是RSA和MD5的复合使用的源码!
    使用来加减密的,是RSA和MD5的复合使用的源码!-Secret used to addition and subtraction, is a composite RSA and MD5 to use source code!
    2022-08-16 08:44:36下载
    积分:1
  • IEEE2008年文章An Image Encryption Scheme Based on Chaotic Map
    IEEE2008年文章An Image Encryption Scheme Based on Chaotic Map -An Image Encryption Scheme Based on Chaotic Map
    2022-06-19 04:19:19下载
    积分:1
  • MD5, can be extracted document summaries, compare and testing to achieve fingerp...
    MD5计算,可以将文件提取出摘要,进行比对,校验,实现指纹算法-MD5, can be extracted document summaries, compare and testing to achieve fingerprint algorithm
    2022-08-17 23:53:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载