Glossary

Encryption

data encryptionencipherment

Encryption is a reversible cryptographic transformation that uses a key to convert plaintext into ciphertext.

Definition

Encryption converts plaintext into ciphertext with a cryptographic algorithm and key so unauthorized parties cannot understand the data. It is designed to be reversible for someone with the proper key. Encoding changes representation, while hashing is normally one-way; neither is a synonym for encryption.

How encryption works

Symmetric encryption uses the same secret key for encryption and decryption. Asymmetric encryption uses a public key and a related private key; practical systems often combine both approaches. Modern schemes also use a nonce or initialization vector, and authenticated encryption adds an integrity tag.

What encryption does not solve

Security should depend on secret keys, not a hidden algorithm. Strong encryption still fails if keys are stolen, nonces are reused incorrectly, endpoints are compromised, or plaintext is logged. It may also leave metadata such as message length and communication timing visible.

Frequently asked questions

Encryption is reversible with the correct key. A cryptographic hash is intended to be one-way and produces a fixed-size digest rather than decryptable ciphertext.

Symmetric encryption shares one secret key. Asymmetric encryption separates a public encryption or verification key from a private decryption or signing key.

Confidentiality alone does not. Use authenticated encryption, such as an AEAD mode, so unauthorized changes are detected before plaintext is released.

See also