Perfect secrecy (source code)

= Perfect secrecy
{wiki}

An encryption scheme has perfect secrecy when the ciphertext and plaintext are <independent random variables>, so observing the ciphertext does not change the plaintext's <probability distribution>.