Location:
Search - bcd u
Search list
Description: 移位密码、代换密码的加密及解密
实现移位密码:k表示26个字母向前循环位移的字符个数
加密:
输入:k,以及小写表示的明文字母,输出:大写字母表示的密文
解密:输入: k,以及大写字母表示的密文,输出:小写字母表示的明文
例如,当k=11时
明文:wewillmeetatmidnight
密文:HPHTWWXPPELEXTOYTRSE
实现代换密码
例如输入密匙guangzhouuniversity,则建立字母对应关系:
a b c d e f g h i j K l m
G U A N Z H O I V E R S T
n o p q r s t u v w X y z
Y B C D F J K L M P Q W X
字母对应关系的说明:把密匙按照a-z的顺序对应,去掉重复字母,如guangzhouuniversity中的g第二次出现时被滤掉, 在n对应Y之后,把在密匙中没出现过的其他字母按顺序排列:BCDFJ……
-translocation password substitution password encryption and decryption of achieving shift Password : k said 26 letters forward displacement cycle of the number of characters encryption : Admission : k, and explicitly expressed in lowercase letters, output : capital letters said the ciphertext declassified : Admission : k, and the uppercase letters dense text output : lowercase letters explicitly said for example, when k = 11:00 explicit : wewillmeetatmidnight dense text : HPHTWWXPPELEXTOYTRSE achieve import substitution such as password key guangzho uuniversity, the establishment of correspondence between letters : a b c d e f g h i j k l m G U A N Z H O R E V I S T n o p q r s t u v w x y z Y B C D F J K L M P Q W X correspondence between letters Note : In accordance with a key put-z corr
Platform: |
Size: 8192 |
Author: |
Hits:
Description: UTC转换到BCD,BCD转换到UTC,很好用的.-UTC converted to BCD, BCD conversion to UTC, a very good use.
Platform: |
Size: 358400 |
Author: 纪鸿舜 |
Hits:
Description: my program is in fact a keyboard linked to spartan III fpga...when u presed a button it will be showed on the bcd of the fpga
Platform: |
Size: 1934336 |
Author: dab |
Hits: