adsense

Tuesday, 12 July 2016

The Reverse Cypher

                     

To all my viewers I'm currently a member of the internship program for a human welfare council and I need your help to assist the people who need us by donating any amount you can. YOUR SMALL GESTURE WILL HELP A FAMILY SMILE. Follow the link and you will get to our campaign page :


Please after funding whatever amount you can share me the screenshot of the receipt to my email - sumanmukherjee2001@gmail.com

So that I can send you a receipt for the contribution you made and tell the happiness you shared. 😊


The reverse cipher encrypts a message by printing it in reverse order. So "How are you" will be "uoy era woh".But its is a very weak cypher. Just by lookink at the text, you can figure out that the letters are just reverse. But to begin with Cryptography, it is the best one to start with as it is easy and develops some concept of cryptography for newbies.


To decrypt, you simply reverse the reversed message to get the original


message. The encryption and decryption steps are the same


 
  


Source code:-

-------------------------------------------------------------
 message = input("enter your message" " ")
translated = ''
i = len(message) - 1while i >= 0:
        translated = translated + message[i]
        i = i - 1
print(translated)
-------------------------------------------------------------

Result :-


For any queries please feel free to comment below .

No comments:

Post a Comment