从空格(ASCII码32)到~(ASCII码126)。表内的第一行与表头相同,下面的每一行都与上一行的内容相同,只是字符相左移动了一个位置。这样,下一行的最后一个字符与上一行的第一个字符相同。 为了进行文本编码,可以任意选择一个字符串,称之为编码字符串,也就是常说的密钥。为解释编码方法,我们假设密钥是Walrus,待编码的文本(即常说的明文)是: Meet me in St. Louis 我们在待编码的文本之上重复书写上述密钥,使得其长度与待编码文本相同: WalrusWalrusWalrusWa Meet me in St. Louis 从上述两行文本中按列对应方式依次提取一个字符,可得到多个字符对:WM、ae、le等,这些字符对可用作上表的索引。这样,依次以这些字符对作为索引可从上表查到一系列字符,这些字符就构成了文本编码,即常说的密文。例如,第W行第M列队应得字符是%,因此编码的第一个字符就是%;第a行第e列对应的字符是G;第l行第e列对应的是R。依次进行上述查找操作,可以得到完整的密文 %Grgua=aVauGLol?eiAU 进行相反的操作就可对该文本解码。 编写编码/解码程序,可以对文本文件或键盘输入的字符串进行编码/解码,在选择编码解码后,需要提示用户输入密钥。
上传时间: 2014-01-16
上传用户:Ants
贪吃蛇网络版 运行平台 LINUX/UNIX Macintosh Windows Server 2003 Windows 2000 Windows XP Windows CE Windows 9*/ME Windows NT MS-DOS
标签: Windows Macintosh Server LINUX
上传时间: 2015-05-06
上传用户:徐孺
This code detects memory leaks in embedded VC++ almost the same way crtdbg does in VC++. At the end of program execution it will display in the debug window if there were any memory leaks and how the memory looks so you can identify where your memory leak occurred. It will display in the debug window a message saying no memory leaks detected if there are no memory leaks. Similar to what crtdbg.h does in VC++. The code detects memory leaks generated with calls to new and delete operators in C++. The code doesn t detect memory leaks generated with C functions: malloc, calloc, free, but that can be done in the future. Let me know and I will program it.
标签: the embedded detects almost
上传时间: 2015-05-07
上传用户:comua
是一个JABBER的J2ME的实现,在sun公司的wtk上测试是可行的
上传时间: 2013-11-26
上传用户:yd19890720
Epson 清零程序大全,文件大小:987K,运行平台:Windows9X/ME/NT/2000/XP
上传时间: 2013-12-25
上传用户:kristycreasy
This book isn t for uber-programmers who already have all the answers. If you think that J2EE does everything that you need it to do and you can make it sing, this book is not for you. Believe me, there are already enough books out there for you.
标签: uber-programmers already answers think
上传时间: 2015-05-22
上传用户:tb_6877751
MFC Black Book Introduction: Are you an MFC programmer? Good. There are two types of MFC programmers. What kind are you? The first kind are the good programmers who write programs that conform to the way MFC wants you to do things. The second bunch are wild-eyed anarchists who insist on getting things done their way. Me, I’m in the second group. If you are in the same boat (or would like to be) this book is for you. This book won’t teach you MFC—not in the traditional sense. You should pick it up with a good understanding of basic MFC programming and a desire to do things differently. This isn’t a Scribble tutorial (although I will review some fundamentals in the first chapter). You will learn how to wring every drop from your MFC programs. You’ll discover how to use, abuse, and abandon the document/view architecture. If you’ve ever wanted custom archives, you’ll find that, too.
标签: MFC Introduction programmer programme
上传时间: 2015-05-30
上传用户:youke111
GSerial是一个DOS下串口通信程序,程序结构较好,能编出用中断方式接收/发送的多串口通信程序(龚建伟曾用它编过7串口通信程序)。Turbo C++ 3.0 Dos或 Win3X/9X/ME/NT/2K的DOS环境下运行
上传时间: 2015-05-31
上传用户:zl5712176
good book which should be read by the person who want to lean more about DRM, it is very important to give me feedback thx you
标签: important should person about
上传时间: 2013-12-07
上传用户:qw12
ad7843 C51程序,在INSIGHT ME-52A上枋真通过。
上传时间: 2015-06-09
上传用户:aix008