Understand the Security of One Time Pad and how to Implement it in Python

What is a One Time Pad? A One Time Pad is a information-theoretical secure encryption function. But what does that mean? On a high level the One Time Pad is a simple XOR function that takes the input and xor’s that with a key-stream. Encryption and decryption are identical. Some requirements of the One Time … Read more

How Caesar Cipher Teaches us the Most Valuable Lesson – Learn Kerckhoff’s Principle in 5 Steps with Python Code

What will we cover? Understand the challenge to send a secret message Understand the Caesar Cipher How to create an implementation of that in Python How to break the Caesar Cipher Understand the importance of Kerckhoff’s Principle Step 1: Understand the challenge to send a secret message In cryptography you have three people involved in … Read more