Python Decryption Ceaser Cypher Shift Cypher 2021
Python Decryption Ceaser Cypher Shift Cypher 2021
- Code:
#!/usr/bin/python3
# (C) J~Net 2021 Inspired By https://youtu.be/Ws5E2gCW4Hc
# jnet.sytes.net
#
# https://jnet.forumotion.com/t1732-python-decryption-ceaser-cypher-shift-cypher-2021#2682
#
#
#c=(x-m)%26
print("Welcome To J~Net Python Cypher 2021")
#
def encrypted(string, shift):
cypher=''
for char in string:
if char=='':
cypher=cypher+char
elif char.isupper():
cypher=cypher+chr((ord(char)+shift-65)%26+65)
else:
cypher=cypher+chr((ord(char)+shift-97)%26+97)
return cypher
text=input("Enter Text To Shift ")
s=int(input("Enter The Shift Key "))
print("The Original Text Is :",text)
print("The Encripted Text is :",encrypted(text,s))
Similar topics
» Securing a Python Menu With Python Encrypted Password File
» Custom Shift Cypher Generator
» Python Cypher Script
» Python Encryption And Decryption
» RSA Python Encryption & Decryption Example That Works
» Custom Shift Cypher Generator
» Python Cypher Script
» Python Encryption And Decryption
» RSA Python Encryption & Decryption Example That Works
Permissions in this forum:
You cannot reply to topics in this forum