文件名称:SimpleEncryptionAlgorithmReversibleAndIrreversible
介绍说明--下载内容均来自于网络,请自行研究使用
简单的加密解密算法,可逆与不可逆
数据加密:
算法1:(不可逆)
将ASCII表中32~~126中的字符,加密后,显示为128~~255的字符.
128~~255的字符会让人看起来头痛些。。。。。。安全.
当ch[?]的值为偶数时:ch[?]=255-ch[?]的个位*10-ch[?]的十位
当ch[?]的值为奇数时: ch[?]=128+ch[?]的个位*10+ch[?]的十位
当ch[?]的值为质数时:ch[?]=128+ch[?]的个位+ch[?]的十位
算法2:(可逆)
当ch[?]的值能被3整除时:ch[?]-=2,否则ch[?]-=3
-Simple encryption and decryption algorithms, reversible and non-reversible data encryption: Algorithm 1: (not reversible) to ASCII table 32 ~ ~ 126 characters, encrypted, shown as 128 ~ ~ 255 characters. 128 ~ ~ 255 characters will people seem more headaches. . . . . . Security. When the ch [?] Even when the value is: ch [?] = 255-ch [?] Bits of the* 10-ch [?] 10 when the ch [?] Value is odd: ch [ ?] = 128+ ch [?] bit of a* 10+ ch [?] 10 when the ch [?] the value of prime number when: ch [?] = 128+ ch [?] the single-digit+ ch [ ?] of 10 Algorithm 2: (reversible) when ch [?] value can be divisible by 3 pm: ch [?]-= 2, otherwise, ch [?]-= 3
数据加密:
算法1:(不可逆)
将ASCII表中32~~126中的字符,加密后,显示为128~~255的字符.
128~~255的字符会让人看起来头痛些。。。。。。安全.
当ch[?]的值为偶数时:ch[?]=255-ch[?]的个位*10-ch[?]的十位
当ch[?]的值为奇数时: ch[?]=128+ch[?]的个位*10+ch[?]的十位
当ch[?]的值为质数时:ch[?]=128+ch[?]的个位+ch[?]的十位
算法2:(可逆)
当ch[?]的值能被3整除时:ch[?]-=2,否则ch[?]-=3
-Simple encryption and decryption algorithms, reversible and non-reversible data encryption: Algorithm 1: (not reversible) to ASCII table 32 ~ ~ 126 characters, encrypted, shown as 128 ~ ~ 255 characters. 128 ~ ~ 255 characters will people seem more headaches. . . . . . Security. When the ch [?] Even when the value is: ch [?] = 255-ch [?] Bits of the* 10-ch [?] 10 when the ch [?] Value is odd: ch [ ?] = 128+ ch [?] bit of a* 10+ ch [?] 10 when the ch [?] the value of prime number when: ch [?] = 128+ ch [?] the single-digit+ ch [ ?] of 10 Algorithm 2: (reversible) when ch [?] value can be divisible by 3 pm: ch [?]-= 2, otherwise, ch [?]-= 3
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SimpleEncryptionAlgorithmReversibleAndIrreversible.doc