Skip to content

Commit 5840acd

Browse files
authored
Update Caesar_Cipher.py
1 parent 478cbf8 commit 5840acd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Cryptography/Caesar_Cipher.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
"""Aim: Given a string S , encrypt or decrypt it as per the choice entered by the user using Caesar Cipeher Substitution Method
1+
"""
2+
Aim: Given a string S , encrypt or decrypt it as per the choice entered by the user using Caesar Cipeher Substitution Method
23
34
Input Format:
45
1. The first line provides an option to the user to choose either to encrypt/decrypt
56
2. In the second line the user inputs the string as per his choice given in part 1.
6-
"""
7+
8+
Note : It is considered that the encrypted string consists of both upper and lowercase letters , while the decrypted strings consist of only uppercase letters.
9+
"""
710

811
from random import choice
912

0 commit comments

Comments
 (0)