Implement Affine cipher In java or C++.
The program should be able to do all encryption, decryption andbreak. Lowercase characters a -z will be encrypted/decrypted tolowercase characters. Uppercase characters A-Z will beencrypted/decrypted to uppercase characters. Other characters notin the range (a-z, A-Z) will be unchanged. The program shouldaccept the following parameters: a flag to indicate encryption ordecryption, asecret key, an input file name, and an output filename. For example:
myProgram -key 3 8 -encrypt -in file1.txt -out file2.txt
myProgram -key 3 8 -decrypt -in file2.txt -out file3.txt
myProgram -key 3 8 -break -in file4.txt -out file5.txt
The program should be able to detect invalid key
PayPal Gateway not configured
PayPal Gateway not configured