-
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
-
RSA算法 :首先, 找出三个数, p, q, r, 其中 p, q 是两个相异的质数, r 是与 (p...
RSA算法 :首先, 找出三个数, p, q, r, 其中 p, q 是两个相异的质数, r 是与 (p-1)(q-1) 互质的数...... p, q, r 这三个数便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 这个 m 一定存在, 因为 r 与 (p-1)(q-1) 互质, 用辗转相除法就可以得到了..... 再来, 计算 n = pq....... m, n 这两个数便是 public_key ,编码过程是, 若资料为 a, 将其看成是一个大整数, 假设 a < n.... 如果 a >= n 的话, 就将 a 表成 s 进位 (s
- 2022-02-06 10:37:53下载
- 积分:1
-
单报数据加密,在文件传输时对数据报进行加密本程序为服务器端程序。...
单报数据加密,在文件传输时对数据报进行加密本程序为服务器端程序。-Single-reported data encryption in the file transfer when the data reported for this procedure to encrypt the server-side program.
- 2022-01-22 17:55:40下载
- 积分:1
-
窃取邮箱密码的程序
窃取邮箱密码的程序-theft of mail password procedures
- 2022-12-15 21:05:03下载
- 积分:1
-
利用VC来实现一个简单的DES加密程序,他能完成DES算法的全部步骤,不过只能使用64位密码对64位明文进行加密...
利用VC来实现一个简单的DES加密程序,他能完成DES算法的全部步骤,不过只能使用64位密码对64位明文进行加密-VC to achieve a simple DES encryption program, he can finish all the DES algorithm steps, but only use 64 to 64 passwords expressly encryption
- 2022-03-02 17:29:33下载
- 积分:1
-
这是密码学的一个常用算法TWOFISH128,对于学习密码学很有帮助啊。...
这是密码学的一个常用算法TWOFISH128,对于学习密码学很有帮助啊。-This is a cryptographic algorithm used TWOFISH128, learning cryptography helpful ah.
- 2022-03-02 02:57:53下载
- 积分:1
-
SIMPLOGIN
SIMPLOGIN
- 2022-07-10 07:14:10下载
- 积分:1
-
算法起源 RSA 与 visual studio 2013 GMP 图书馆
这是我的代码,我用 c 语言编写的库 gmp 结合时的代码。我在 Visual studio 2013 上进行编译。我的程序是计算值为公共密钥 n、 e、 秘密的关键 d 和后存储在文件的文本。该程序有 3 功能是计算,最后的工作会议,生成密钥并转到上一届会议。当用户选择退出程序的功能然后程序将退出。
- 2023-04-26 19:10:03下载
- 积分:1
-
基于51单片机的密码锁设计
基于8位密码,每位密码值范围为5秒,连续三次键入错误报警1秒的开锁提示音;(5)密码设定完毕后有5秒内未进入,自动锁闭。LED输出模块,数码管(
- 2022-02-04 14:31:45下载
- 积分:1
-
DES加密算法和详细描述(HTM)
DES加密算法及详细说明(HTM)
- 2022-11-09 21:15:03下载
- 积分:1