A technology that provides data confidentiality. Encryption is the process of converting plaintext into ciphertext.
An encryption method that uses the same key for encryption and decryption. It is also called secret-key cryptography. Traditional approaches include block ciphers such as DES, AES, ARIA, and SEED, and stream ciphers such as RC4 and ChaCha. Advantage: faster than asymmetric encryption. Disadvantage: key distribution is a problem, and many keys are needed: keys.
An encryption method that uses different keys for encryption and decryption. It is also called public-key cryptography. Examples include RSA, ElGamal, and NTRU. Advantages: resolves the key-sharing problem and requires fewer keys: keys. Disadvantage: slower than symmetric encryption.
An encryption algorithm should remain secure even if it is public. Only the secret key needs to remain protected. This increases the system's security and makes it easier to communicate with others using different keys.