Beta Phase: Square45 is currently in beta testing. Expect some features or content to be incomplete or missing.
45

Encryption Algorithm

A mathematical procedure for transforming data into an unreadable format (ciphertext) to protect its confidentiality during transmission or storage.
📜

The statement of the theorem

Define the encryption algorithm Enc:(P,K)C\text{Enc}: (P, K) \to C, where PP is the plaintext, KK is the key, and CC is the ciphertext. The algorithm must be paired with a decryption function Dec:(C,K)P\text{Dec}: (C, K) \to P. For the algorithm to be mathematically sound, the following relationship must hold for all valid inputs (P,K)(P, K): P=Dec(Enc(P,K),K)P = \text{Dec}(\text{Enc}(P, K), K)
Source: Wikipedia