Advertisement
KodingKid

Basic Python Message Decryption System

Apr 9th, 2021
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.30 KB | None | 0 0
  1. print("A = 1, B = 2, C = 3, D = 4, E = 5, F = 6, G = 7, H = 8, I = 9, J = 10, K = 11, L = 12, M = 13, N = 14, O = 15, P = 16, Q = 17, R = 18, S = 19, T = 20, U = 21, V = 22, W = 23, X = 24, Y = 25, Z = 26")
  2. print("Enter your message!")
  3. input()
  4. #make as many inputs as you want, you can only do one letter per input or the decryption won't work
  5. if input == "1":  
  6.     print("A")
  7. if input == "2":
  8.     print("B")
  9. if input == "3":
  10.     print("C")
  11. if input == "4":
  12.     print("D")
  13. if input == "5":
  14.     print("E")
  15. if input == "6":
  16.     print("F")
  17. if input == "7":
  18.     print("G")
  19. if input == "8":
  20.     print("H")
  21. if input == "9":
  22.     print("I")
  23. if input == "10":
  24.     print("J")
  25. if input == "11":
  26.     print("K")
  27. if input == "12":
  28.     print("L")
  29. if input == "13":
  30.     print("M")
  31. if input == "14":
  32.     print("N")
  33. if input == "15":
  34.     print("O")
  35. if input == "16":
  36.     print("P")
  37. if input == "17":
  38.     print("Q")
  39. if input == "18":
  40.     print("R")
  41. if input == "19":
  42.     print("S")
  43. if input == "20":
  44.     print("T")
  45. if input == "21"
  46.     print("U")
  47. if input == "22"
  48.     print("V")
  49. if input == "23"
  50.     print("W")
  51. if input == "24"
  52.     print("X")        
  53. if input == "25"
  54.     print("Y")    
  55. if input == "26"
  56.     print("Z")
  57. #See the original encryption script here: https://pastebin.com/gpWreEPg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement