Question Description
1). Using Java language implement the Rail Fence Cipherencryption algorithm.
2). Specifications: The program should take two inputs 1) Message n 2) The key k,which is a tuple (d,r), where d is the depth of the cipher and r is the number of times thealgorithm should repeat itself. The program should produce as output the encryptedmessage as text.
3). What will be the decryption algorithm for a Rail-Fence cipher? Write down thepseudocode for the algorithm.
4). Using Java language implement the Rail Fence Cipherdecryption algorithm.
5). Specifications: The program should take two inputs 1) Encrypted Message n 2) Thekey k, which
PayPal Gateway not configured
PayPal Gateway not configured