Advertisement
paperline27

decode ROT13

Jan 23rd, 2024
901
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | Source Code | 0 0
  1. import codecs
  2.  
  3. # Meminta pengguna untuk memasukkan pesan terenkripsi
  4. pesan_terenkripsi = input("Masukkan pesan terenkripsi: ")
  5.  
  6. # Dekripsi pesan dengan ROT13
  7. pesan_terdekripsi = codecs.decode(pesan_terenkripsi, 'rot_13')
  8.  
  9. # Tampilkan pesan terdekripsi
  10. print("Pesan terdekripsi:", pesan_terdekripsi)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement