Dixie  Wolff

Dixie Wolff

1626409500

Understand One Time Pad in 2 minutes - From XOR to 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.
Encryption: Takes the plaintext and the key-stream and xor’s it to get the cipher text.
Decryption: Takes the cipher text and the (same) key-stream and xor’s it to get the plaintext.

#one time pad #xor

Understand One Time Pad in 2 minutes - From XOR to One Time Pad