Caesar Cipher Encryption and Decryption in Python

preview_player
Показать описание
In this video, we recreate one of the earliest forms of encryption and decryption called the Caesar Cipher using Python.
We do a brief explanation of how the shift algorithm works, before going on to recreate it using Python.

Рекомендации по теме
Комментарии
Автор

What do you think about this idea:
you split the alphabet into like 6 blocks, where the letters of each block get a different shift. The shifts could then be used as a key like "-4+7-2+6-6-7". The receiver could use the reversed key:"+4-7+2-6+6+7" as the "receiver key" for decryption. For extra safety the split alphabet from the beginning could be one of many (for example 100 alphabets in total, each with different placed blocks/splits). You then add the alphabet you used for the encryption (1-100) to the receiver key ( "+4-7+2-6+6+7:89"), so that the receiver knows which alphabet split was used in the beginning) Wonder how hard that would be to break?

raccoongamingclan
Автор

What would you change so that any text with symbols (!, @#$%) wouldn't be affected?

akatheguy
Автор

Hi, i have done everything you said but it just says "syntax error"

HeHehwuwhwh
Автор

thank you so much, can you also help me to find and error from your code, it says encrypt is undefined..

bohlalelebesa
Автор

How to do this with others alphabets(different languages)?

ndiora