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

在 c + + 中实现 RC4 算法

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

代码说明:

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

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

发表评论

0 个回复

  • ldpc编码和译码程序
    LDPC的编码和译码程序,运行可靠,主要是用于4G的编码使用。matlab编程使用,核心代码简单可靠
    2022-03-11 07:09:38下载
    积分:1
  • RSA C语言实现
    用C语言实现的RSA算法,各个部分模块,都有详细介绍。密钥生成、大素数产生、素数判断、参数的选取,都有,用C语言实现的RSA算法。
    2022-03-21 03:52:05下载
    积分:1
  • 一个用3DES文件的小测试程序!
    一个用3DES加密文件的小测试程序!-a document using 3DES encryption small test program!
    2022-07-11 06:57:51下载
    积分:1
  • 利用汇编语言实现DES算法
    利用汇编语言实现DES加密算法-using assembly language to achieve DES encryption algorithm
    2022-11-02 22:50:03下载
    积分:1
  • RSA realized, according to the article to achieve RSA algorithm
    RSA的实现,可以根据文章来实现RSA算法-RSA realized, according to the article to achieve RSA algorithm
    2022-03-19 08:56:40下载
    积分:1
  • 1. This program will all possible symbols in English and in the definition of th...
    1.本程序将所有可能出现的英文和符号定义在ASCII表中的“000--255”中的256个常用字符 2.在实现2的基础上,实现控制台对英文文本文件(注意明文和密文都以文件形式存在)的加解密 形式:cipher 源文件名 目的文件名 密钥 E/D(标示加解密)说明:对于加密来说,源文件名就是明文,对于解密来说,源文件名就是密文-1. This program will all possible symbols in English and in the definition of the ASCII table, "000-- 2 55 "of 256 commonly used characters in two. in achieving two on the basis of Console achieve the English text files (and expressly close attention to the text of a document form) encryption forms : cipher source document file names Key E/D (marked increase declassified) Note : For encryption, source file name is expressly for declassification, the source file name is ciphertext
    2022-05-25 21:59:44下载
    积分:1
  • 这是一个在vc环境下编译通过的MD5算法。包含算法源代码和测试主程序。...
    这是一个在vc环境下编译通过的MD5算法。包含算法源代码和测试主程序。-This is an environment in vc compiled by the MD5 algorithm. Includes algorithm source code and testing main program.
    2022-03-15 03:52:46下载
    积分:1
  • AES相关的一些列子,需要库的支持才能应用
    AES相关的一些列子,需要库的支持才能应用-AES related some Liezi need the support of the Treasury to apply
    2023-05-22 20:30:02下载
    积分:1
  • md5源程序文件2
    md5源程序文件2-md5 source files 2
    2022-01-25 16:57:55下载
    积分:1
  • 设计一个系统里面含Diffie
    设计一个加密系统里面含Diffie-Hellman代码 DES_Tool2(直接生成密文和加密明文) DSATool.v1.3软件和一个das源代码-Inside the design of a cryptographic system with Diffie-Hellman code DES_Tool2 (generated direct explicit ciphertext and encryption) DSATool.v1.3 software source code and a das
    2022-07-10 13:48:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载