文件名称:rank
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:391.97kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本算法与书上的相比稍微改动了一些。
因为日常加密中,明文不单是数字,经常会有字母或者其他字符出现。
本程序的思想就是先把明文以字符形式读取,转化成ASCII码,再把ASCII码转化成数字形式。
因为ASCII码共有256个也就是2的8次方,占8位二进制,把这八位二进制分为两部分,每部分占4位进行加密。
加密的算法和书上类似,先用密钥选取表,行,取反,然后与明文做异或,移位等运算。
最后得出两个4位的二进制数,合为一个,转化成十进制形式存储为密文。-The algorithm is compared with a little book on a number of changes. Because of the daily encryption, the plaintext is not only a number, often have letters or other characters appear. This is the first clear thought process to form characters read into ASCII code, ASCII code then converted into digital form. ASCII code for a total of 256 is 2 to the 8th power, accounting for 8-bit binary, this binary consists of two eight parts, each accounting for 4-bit encryption. Encryption algorithm and a similar book, first select the table with the keys, rows, inverted, and then XOR with the plaintext to do, shift and other operations. Came to the conclusion of two 4-bit binary number, into one, converted to decimal form of storage for the ciphertext.
因为日常加密中,明文不单是数字,经常会有字母或者其他字符出现。
本程序的思想就是先把明文以字符形式读取,转化成ASCII码,再把ASCII码转化成数字形式。
因为ASCII码共有256个也就是2的8次方,占8位二进制,把这八位二进制分为两部分,每部分占4位进行加密。
加密的算法和书上类似,先用密钥选取表,行,取反,然后与明文做异或,移位等运算。
最后得出两个4位的二进制数,合为一个,转化成十进制形式存储为密文。-The algorithm is compared with a little book on a number of changes. Because of the daily encryption, the plaintext is not only a number, often have letters or other characters appear. This is the first clear thought process to form characters read into ASCII code, ASCII code then converted into digital form. ASCII code for a total of 256 is 2 to the 8th power, accounting for 8-bit binary, this binary consists of two eight parts, each accounting for 4-bit encryption. Encryption algorithm and a similar book, first select the table with the keys, rows, inverted, and then XOR with the plaintext to do, shift and other operations. Came to the conclusion of two 4-bit binary number, into one, converted to decimal form of storage for the ciphertext.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建文件夹/Debug/jiami.exe
新建文件夹/Debug/jiami.ilk
新建文件夹/Debug/jiami.obj
新建文件夹/Debug/jiami.pch
新建文件夹/Debug/jiami.pdb
新建文件夹/Debug/jiemi.exe
新建文件夹/Debug/jiemi.ilk
新建文件夹/Debug/jiemi.obj
新建文件夹/Debug/jiemi.pch
新建文件夹/Debug/jiemi.pdb
新建文件夹/Debug/vc60.idb
新建文件夹/Debug/vc60.pdb
新建文件夹/jiami.c
新建文件夹/jiami.dsp
新建文件夹/jiami.dsw
新建文件夹/jiami.ncb
新建文件夹/jiami.opt
新建文件夹/jiami.plg
新建文件夹/jiemi.c
新建文件夹/jiemi.dsp
新建文件夹/jiemi.dsw
新建文件夹/jiemi.ncb
新建文件夹/jiemi.opt
新建文件夹/jiemi.plg
新建文件夹/mingwen.txt
新建文件夹/mingwen2.txt
新建文件夹/miwen.txt
新建文件夹/miyao.txt
新建文件夹/miyao2.txt
新建文件夹/算法思想.txt
新建文件夹/Debug
新建文件夹
新建文件夹/Debug/jiami.ilk
新建文件夹/Debug/jiami.obj
新建文件夹/Debug/jiami.pch
新建文件夹/Debug/jiami.pdb
新建文件夹/Debug/jiemi.exe
新建文件夹/Debug/jiemi.ilk
新建文件夹/Debug/jiemi.obj
新建文件夹/Debug/jiemi.pch
新建文件夹/Debug/jiemi.pdb
新建文件夹/Debug/vc60.idb
新建文件夹/Debug/vc60.pdb
新建文件夹/jiami.c
新建文件夹/jiami.dsp
新建文件夹/jiami.dsw
新建文件夹/jiami.ncb
新建文件夹/jiami.opt
新建文件夹/jiami.plg
新建文件夹/jiemi.c
新建文件夹/jiemi.dsp
新建文件夹/jiemi.dsw
新建文件夹/jiemi.ncb
新建文件夹/jiemi.opt
新建文件夹/jiemi.plg
新建文件夹/mingwen.txt
新建文件夹/mingwen2.txt
新建文件夹/miwen.txt
新建文件夹/miyao.txt
新建文件夹/miyao2.txt
新建文件夹/算法思想.txt
新建文件夹/Debug
新建文件夹
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.