Implement Cesare Cipher Algorithm using C++ or Java. The program:

10
Bahir Dar institute of technology Bahir Dar University Faculty of computing Department of computer science Computer Security on Cesare cipher By Tesfahunegn Minwuyelet [email protected]

Transcript of Implement Cesare Cipher Algorithm using C++ or Java. The program:

Page 1: Implement Cesare Cipher Algorithm using C++ or Java. The program:

Bahir Dar institute of technology

Bahir Dar UniversityFaculty of computing

Department of computer science Computer Security on Cesare cipher

By

Tesfahunegn Minwuyelet

[email protected]

Date 09/01/2016 GC.

Page 2: Implement Cesare Cipher Algorithm using C++ or Java. The program:

1) Implement Cesare Cipher Algorithm using C++ or Java. The program:

1.1. Should prompt the user to enter “E” for encryption or “D” for decryption.

1.2. Prompt the user to enter an encryption key when “E” is chosen

1.3. Prompt the user to enter the decryption key when “D” is chosen

1.4. Should be able to take the plain text from a notepad file stored in a hard disk as

CeaserPlain.txt.

1.5. Encrypt the input file up on the reception of the key and store the cipher text as

CeaserCipher.txt

1.6. Decrypt the cipher text up on the reception of the decryption key and store the plain

text as CeaserPlain2.txt. creaser Cipher should be read from hard disk.

1.7. Generate an error message when encryption and decryption keys do not match.

2

Page 3: Implement Cesare Cipher Algorithm using C++ or Java. The program:

3

Page 4: Implement Cesare Cipher Algorithm using C++ or Java. The program:

4

Page 5: Implement Cesare Cipher Algorithm using C++ or Java. The program:

5

Page 6: Implement Cesare Cipher Algorithm using C++ or Java. The program:

6

Page 7: Implement Cesare Cipher Algorithm using C++ or Java. The program:

7

Page 8: Implement Cesare Cipher Algorithm using C++ or Java. The program:

8

Page 9: Implement Cesare Cipher Algorithm using C++ or Java. The program:

9