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

在 c + + 中实现 RC4 算法

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

代码说明:

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

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

发表评论

0 个回复

  • 另一个使用java编写的通用算法包,含des,rsa,sha,md5,md4,md2,idea,blowfish等很多算法和钥存储、签名等源码...
    另一个使用java编写的加密通用算法包,含des,rsa,sha,md5,md4,md2,idea,blowfish等很多加密算法和密钥存储、签名等源码- Another uses the java compilation the encryption general algorithm package, contains des, rsa, sha, md5, md4, md2, idea, blowfish and so on the very many encryption algorithm and the key saves, source code and so on the signature
    2022-01-25 17:55:50下载
    积分:1
  • CRC 算法,Visual Basic的源代码
    CRC 加密算法,Visual Basic的源代码-CRC encryption algorithm in the Visual Basic
    2022-05-19 23:21:41下载
    积分:1
  • 文件技术的程序
    文件加密技术的程序-file encryption procedures
    2022-07-23 20:38:39下载
    积分:1
  • 数字签名PDF
    应用背景在这篇文章中,我将介绍一个简单的源代码,让您的数字签名PDF文档和修改它的元数据。我会用优秀的 自由港;iText  ;图书馆:itextsharp,可以下载 ;这里。你需要2008个视觉工作室能够打开和建设该项目。关键技术itextsharp提供了很多有趣的功能,创建和操纵PDF文件,但在这篇文章中,我们将只使用数字签名功能。我也会用一些功能来操作# PKCS 12证书。你唯一需要知道的是,我们的数字签名将使用从蛋白提取私钥# 12证书。
    2022-08-06 19:26:08下载
    积分:1
  • MD5算法的java实现
    MD5算法的java实现-The implement of MD5 algorithm for JAVA
    2023-04-30 10:30:02下载
    积分:1
  • 一个用ATL开发的Base64编码控件,使用简单,用EnCode64(str)编码,EnCode64(str)码,属性EnCode存放源码,属性DeCode存...
    一个用ATL开发的Base64编码控件,使用简单,用EnCode64(str)编码,EnCode64(str)解码,属性EnCode存放源码,属性DeCode存放Base64码,开发平台:VC.Net- The Base64 code which develops with ATL controls, the use is simple, (str) codes with EnCode64, EnCode64 (str) decodes, the attribute EnCode depositing source code, attribute DeCode deposits the Base64 code, develops the platform: VC.Net
    2022-06-28 10:38:18下载
    积分:1
  • 关于IDEA算法的一个小程序
    关于IDEA算法的一个小程序-IDEA algorithm on a small program
    2022-11-30 04:10:04下载
    积分:1
  • ISGCSSecure增强Client/Server系统安全的控件。(源代码,需注册)价格:$799。工作在:CB1 CB3 D3 D4 D5。作者:Infin...
    ISGCSSecure增强Client/Server系统安全的控件。(源代码,需注册)价格:$799。工作在:CB1 CB3 D3 D4 D5。作者:Infinity Software Group--Control which uses ISGCSSecure to enhanced Client/Server system security .(with source codes,needing register) price:$799.works in:CB1 CB3 D3 D4 D5.author:Infinity Software Group
    2023-01-07 05:05:03下载
    积分:1
  • 16c84
    基于16C84做的智能卡程序,可以实现智能设置。-16C84-based smart card to do the procedure, you can realize the smart set.
    2022-02-06 11:45:31下载
    积分:1
  • Base64 算法(Author 蒋柏良 Jerry Jiang)
    Base64 加密算法(Author 蒋柏良 Jerry Jiang)-* * DESCRIPTION * Base64 processes input in 24bit chunks by converting each chunk into 4 * bytes of output. It does so by splitting input into four 6bit groups and * using these as indexes in the following substitution table- * const char base64_map[] = * "ABCDEFGHIJKLMNOPQRSTUVWXYZ" * "abcdefghijklmnopqrstuvwxyz" * "0123456789+/" * If an input is not a multiple of 3 bytes, it s padded with zeros. In * this case the output bytes that consist entirely of the pad data are * replaced with = . * * Example * An input of 0x00 0x45 0xF2 is equivalent to 00000000 01000101 11110010 * bit sequence, which s then split into 000000 000100 010111 110010 * and these are substituted to produce the following base64 encoding * A E X y * * RETURN VALUE * b64_length() should return output length for the input of len bytes. * b64_encode() should encode len bytes from src int
    2022-07-18 16:55:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载