one-time pad


Summary

Encryption and decryption

Concept

Premise, based on the properties of XOR

Perfect secrecy

  • key is one time use
  • key is as large as the plaintext

Application

Reused key(Ciphertext only attack)