One Time Pad
One Time Pad - A key for one use
Encryption:
- Message M (the ClearText), Key K
- Encrypted Message C (CipherText) :
Decryption :
- CipherText C, Key K.
- Decrypted Message (ClearText):
Notes:
Notice that the key has to be in the length of the message.
C xor K = (M xor K) xor K = M xor 0 = M