encryption
Encryption is a method of transforming readable data, known as plaintext, into an unreadable form, called ciphertext, using an algorithm and a key. The intended result is to prevent unauthorized access to information while preserving its recoverability by someone with the correct key. Encryption protects data in transit, such as online communications, and data at rest, such as files stored on a device.
Two broad categories exist: symmetric encryption uses one key for both directions, while asymmetric encryption uses
Key management and trust are central. Public key infrastructure (PKI) and digital certificates support key verification,
Security considerations: weaknesses can stem from weak keys, poor randomness, implementation flaws, or misconfiguration. Attacks include
History: Classical ciphers gave way to modern cryptography in the 20th century, with public-key cryptography introduced