Question: ( C + + please ) Program: Caesar Encryption ( from geek - to - geek site ) The Caesar Cipher technique is one of

(C++ please)
Program: Caesar Encryption
(from geek-to-geek site) The Caesar Cipher technique is one of the earliest and simplest methods of encryption technique. Its simply a type of substitution cipher, i.e., each letter of a given text is replaced by a letter with a fixed number of positions down the alphabet. For example, with a shift of 1, A would be replaced by B, B would become C, and so on. The method is apparently named after Julius Caesar, who apparently used it to communicate with his officials.
To encrypt and decrypt a given text we need an integer value, known as a shift which indicates the number of positions each letter of the text has been moved down.
You are to write a program that will serve as a tool to encrypt or decrypt a message. An overview of the program is that you need to:
Offer the user the ability to encrypt or decrypt a message The user should select one or the other.
Ask for the file containing the message to be encrypted or decrypted
Ask for the shift number for the decryption/encryption key in the algorithm
Write out the result of your algorithm to a 2nd file (This can be named by the customer or can be named result.txt
REQUIREMENTS:
Must use:
o File stream
o Array
o Functions
Must be able to encrypt the entire alphabet a-z, and numbers 0-9.The result can be a message of only lowercase letters.
Other characters are just copied, as is, to the result text.
Note: Cannot use
Mathematical equation for Caesar substitution.
Global Variables (with the exception of
o function declarations
enum datatypes if you decide to use themProgram: Caesar Encryption
(from geek-to-geek site) The Caesar Cipher technique is one of the earliest and simplest methods of encryption technique. It's simply a type of substitution cipher, i.e., each letter of a given text is replaced by a letter with a fixed number of positions down the alphabet. For example, with a shift of 1, A would be replaced by B, B would become C, and so on. The method is apparently named after Julius Caesar, who apparently used it to communicate with his officials.
To encrypt and decrypt a given text we need an integer value, known as a shift which indicates the number of positions each letter of the text has been moved down.
You are to write a program that will serve as a tool to encrypt or decrypt a message. An overview of the program is that you need to:
Offer the user the ability to encrypt or decrypt a message The user should select one or the other.
Ask for the file containing the message to be encrypted or decrypted
Ask for the shift number for the decryption/encryption key in the algorithm
Write out the result of your algorithm to a 2nd file (This can be named by the customer or can be named 'result.txt'Program: Caesar Encryption
(from geek-to-geek site) The Caesar Cipher technique is one of the earliest and
simplest methods of encryption technique. It's simply a type of substitution cipher, i.e.,
each letter of a given text is replaced by a letter with a fixed number of positions down
the alphabet. For example, with a shift of 1, A would be replaced by B, B would become
C, and so on. The method is apparently named after Julius Caesar, who apparently
used it to communicate with his officials.
To encrypt and decrypt a given text we need an integer value, known as a shift which
indicates the number of positions each letter of the text has been moved down.
You are to write a program that will serve as a tool to encrypt or decrypt a message. An
overview of the program is that you need to:
Offer the user the ability to encrypt or decrypt a message The user should select
one or the other.
Ask for the file containing the message to be encrypted or decrypted
Ask for the shift number for the decryption/encryption key in the algorithm
Write out the result of your algorithm to a 2nd file (This can be named by the customer
or can be named 'result.txt'
REQUIREMENTS:
Must use:
o File stream
o Array
o Functions
**********Must be able to encrypt the entire alphabet a-z, and numbers 0-9. The result can
be a message of only lowercase letters.
Other characters are just copied, as is, to the result text.
Note: Cannot use
Mathematical equation for Caesar substitution.
Global Variables (with the exception of
o function declarations
o enum datatypes if you decide to use them
( C + + please ) Program: Caesar Encryption (

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!