4.

Learn Encryption Techniques with BASIC and C++
(Publisher: Wordware Publishing, Inc.)
Author(s): Gil Held
ISBN: 1556225989
Publication Date: 10/01/98

Table of Contents


Appendix A
Companion CD-ROM Files

This appendix lists the names of each of the files contained on the companion CD-ROM, as well as a description of the function of each file. To facilitate readers obtaining additional information concerning the operation and utilization of each program, files are listed in this appendix in the order in which they are described in each chapter, by chapter. The .EXE files, which are executable versions of the BASIC and C++ programs, are not listed in the book; however, they are listed below in the same chapter in which the BASIC or C++ program is described.

There are two directories on the CD: BASIC and C. The BASIC directory contains BASIC language source and executable programs, while the C directory contains C++ language source and executable programs. In the chart below, the .EXE file is listed only once with the name of the corresponding program followed by .xxx. The .CPP executable is in the C directory, and the .BAS executable is in the BASIC directory.


Chapter Filename Description

2 SHIFT.BAS This program creates a sequence of shifted alphabets.
SHIFT.CPP This program is the C++ version of SHIFT.BAS.
SHIFT.EXE This is the executable version of SHIFT.CPP.
CIPHER1.BAS This program creates a shifted alphabet based upon the entry of an alphabetic shift key character.
CIPHER1.CPP This program is the C++ version of CIPHER1.BAS.
CIPHER1.EXE This is the executable version of CIPHER1.xxx.
CIPHER2.BAS This program enciphers a one-line message using a cipher alphabet formed by shifting the plaintext alphabet through the use of an alphabetic shift key.
CIPHER2.CPP This program is the C++ version of CIPHER2.BAS.
CIPHER2.EXE This is the executable version of CIPHER2.xxx.
CIPHER3.BAS This program expands upon the functionality of CIPHER2.BAS by adding a routine which displays the resulting enciphered text in groups of five characters.
CIPHER3.CPP This program is the C++ version of CIPHER3.BAS.
CIPHER3.EXE This is the executable version of CIPHER3.xxx.
CIPHER4.BAS This program expands upon the functionality of CIPHER3.BAS by permitting spaces between words in a plaintext message and selectively enciphering the message using a simple monoalphabetic substitution process.
CIPHER4.CPP This program is the C++ version of CIPHER4.BAS.
CIPHER4.EXE This is the executable version of CIPHER4.xxx.
DCIPHER4.BAS This program deciphers a message previously enciphered through the use of CIPHER4.BAS.
DCIPHER4.CPP This program is the C++ version of DCIPHER4.BAS.
DCIPHER4.EXE This is the executable version of DCIPHER4.xxx.
3 WORD.BAS This program develops an alphabet based upon the entry of a keyword or keyword phrase.
WORD.CPP This program is the C++ version of WORD.BAS.
WORD.EXE This is the executable version of WORD.xxx.
CIPHER5.BAS This program enciphers a message based upon the use of a keyword or keyword phrase and an alphabetic shift key using a monoalphabetic substitution process.
CIPHER5.CPP This program is the C++ version of CIPHER5.BAS.
CIPHER5.EXE This is the executable version of CIPHER5.xxx.
DCIPHER5.BAS This program deciphers a message enciphered using the program DCIPHER5.BAS.
DCIPHER5.CPP This program is the C++ version of DCIPHER5.BAS.
DCIPHER5.EXE This is the executable version of DCIPHER5.xxx.
4 CIPHERTR.BAS This program enciphers a message using a transposition matrix and a monoalphabetic substitution process based upon a keyword or keyword phrase and an alphabetic shift key. This program displays the composition of different alphabets to illustrate the operation of the enciphering process.
CIPHERTR.CPP This program is the C++ version of CIPHERTR.BAS.
CIPHERTR.EXE This is the executable version of CIPHERTR.xxx.
TRANSPORT.CPP This program is a C++ expansion of BASIC’s TRANSPORT subroutine.
TRANSPORT.EXE This is the executable version of TRANSPORT.CPP.
CIPHER6.BAS This program adds an interval extraction capability to CIPHERTR.BAS.
CIPHER6.CPP This program is the C++ version of CIPHER6.BAS.
CIPHER6.EXE This is the executable version of CIPHER6.xxx.
DCIPHER6.BAS This program deciphers messages enciphered using the program CIPHER6.BAS.
DCIPHER6.CPP This program is the C++ version of DCIPHER6.BAS.
DCIPHER6.EXE This is the executable version of DCIPHER6.xxx.
5 POLY1.BAS This program creates a Vigenére tableau.
POLY1.CPP This program is the C++ version of POLY1.BAS.
POLY1.EXE This is the executable version of POLY1.xxx.
COUNT.CPP This program performs a frequency count of the contents of an encrypted file.
COUNT.EXE This is the executable version of COUNT.CPP.
POLY2.BAS This program enciphers a message based upon the use of two keywords or keyword phrases using a polyalphabetic substitution process and 26 cipher alphabets.
POLY2.CPP This program is the C++ version of POLY2.BAS.
POLY2.EXE This is the executable version of POLY2.xxx.
DPOLY2.BAS This program deciphers messages previously enciphered using the program POLY2.BAS.
DPOLY2.CPP This program is the C++ version of DPOLY2.BAS.
DPOLY2.EXE This is the executable version of DPOLY2.xxx.
6 RANDOM1.BAS This program generates random numbers between 0 and 25.
RANDOM1.CPP This program is the C++ version of RANDOM1.BAS.
RANDOM1.EXE This is the executable version of RANDOM1.xxx.
RANDOM2.BAS This program demonstrates the use of random numbers to encipher a one-line message.
RANDOM2.CPP This program is the C++ version of RANDOM2.BAS.
RANDOM2.EXE This is the executable version of RANDOM2.xxx.
DRANDOM2.BAS This programs deciphers a one-line message previously enciphered using the program RANDOM2.BAS.
DRANDOM2.CPP This program is the C++ version of DRANDOM2.BAS.
DRANDOM2.EXE This is the executable version of DRANDOM2.xxx.
ASCII.CPP This program displays the ASCII value of characters.
ASCII.EXE This is the executable version of ASCII.CPP.
POSITION.BAS This program demonstrates the positioning to a place in the BASIC random number generator based upon a “secret” code up to six characters in length.
POSITION.CPP This program is the C++ version of POSITION.BAS.
POSITION.EXE This is the executable version of POSITION.xxx.
RTEST.BAS This program scans a random number seed to locate any sequence of five repeated numbers.
RTEST.EXE This is the executable version of RTEST.BAS.
RANDOM3.BAS This program enciphers messages using the BASIC random number generator and a six-position “secret” code to locate a starting point in the random number generator.
RANDOM3.CPP This program is the C++ version of RANDOM3.BAS.
RANDOM3.EXE This is the executable version of RANDOM3.xxx.
DRANDOM3.BAS This program deciphers messages previously enciphered using the program RANDOM3.BAS.
DRANDOM3.CPP This program is the C++ version of DRANDOM3.BAS.
DRANDOM3.EXE This is the executable version of DRANDOM3.xxx.
7 ENCIPHER.BAS This program performs encipherment using seven previously developed routines.
ENCIPHER.EXE This is the executable version of ENCIPHER.BAS.
DECIPHER.BAS This program deciphers data previously enciphered using the ENCIPHER.BAS program.
DECIPHER.EXE This is the executable version of DECIPHER.BAS.
SECRET.MSG This file contains the challenge message that readers can attempt to decipher.


Table of Contents


Learn Encryption Techniques with Basic and C++
Learn Encryption Techniques with BASIC and C++
ISBN: 1556225989
EAN: 2147483647
Year: 2005
Pages: 92
Authors: Gil Held

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net