Cryptography with Python! One-Time Pad

preview_player
Показать описание
Tutorial introducing the one-time pad encryption. Learn how to create a one-time pad in Python, encrypt & decrypt plaintext and crack a two-time pad.

DISCLAIMER: This is a simplified example of cryptography. Please do not try to use or implement this in real world applications.

The notebook/code used can be found in the below GitHub repository link under the "Cryptography" folder.

CONNECT:

|-Video Chapters-|
0:00 - Intro
0:25 - Definition of one-time pad
1:49 - Security of a one-time pad
5:18 - One-time pad encryption with Python
17:58 - Decrypting a one-time pad
22:09 - Cracking a two-time pad
46:40 - Issues with the length of a one-time pad key
47:13 - References and additional learning
Рекомендации по теме
Комментарии
Автор

Am I dealing with an One-Time Pad Python Script? Dang, it's hard to create compressed + XOR encrypted data! I though doing the reverse of the program will be easy as pie! I was wrong!

zigaudrey
Автор

44:0 key = [11, 4, 6, 3, 6, 17] but the out put key at the end of it shows only key = [11, 4, 6, 3, 6] its not showing 17 at the end. why? can u please explain a bit. Overall it was a great learning from ur lecture. Thanks.

UniverseGames
Автор

I don't understand how you are using "for" and "in" in your dictionary. Can you explain? "letter for index" and "letter in enumerate"

TheAbsoluteSir