Create a program encrypts or decrypts a file using cipher


Q: C++ program for variation of Caesar's substitution cipher

The caeser cipher, which shifts all letters by a certain amount, is easy to decipher. Try this, instead of numbers use letters. Consider this, the word is FEATHER. Remove duplicate letters, making FEATHR, and append the rest of the letters of the alphabet in reverse order.

Now encrypt the letters as follows:

Now, write a program that encrypts or decrypts a file using this cipher.

For example,
crypt -d -kFEATHER encrypt.txt output.txt
decrypts a file using the keyword FEATHER. You must always supply a keyword.

 

Solution Preview :

Prepared by a verified Expert
Computer Network Security: Create a program encrypts or decrypts a file using cipher
Reference No:- TGS01936584

Now Priced at $25 (50% Discount)

Recommended (92%)

Rated (4.4/5)