please help me with this ceasar cipher problem for PYTHON
Posted: Fri Jul 01, 2022 5:37 am
please help me with this ceasar cipher problem forPYTHON
Problems - Caesar Cipher: Write a program that can encrypt and decrypt using the general Caeser cipher, also known as an additive cipher. The encryption and decryption algorithms are described as follows: For each plaintext letter P, substitute the ciphertext letter C: C = E(k, p) = (p + k) mod 26, Where k takes on a value in the range 1 to 25. The decryption algorithm is: P = D(k, C) = (C - k) mod 26
Problems - Caesar Cipher: Write a program that can encrypt and decrypt using the general Caeser cipher, also known as an additive cipher. The encryption and decryption algorithms are described as follows: For each plaintext letter P, substitute the ciphertext letter C: C = E(k, p) = (p + k) mod 26, Where k takes on a value in the range 1 to 25. The decryption algorithm is: P = D(k, C) = (C - k) mod 26