Encryption concepts

Encryption is the process of transforming data into an unintelligible form in such a way that the original data either cannot be obtained or can be obtained only by using a decryption process.

Data that is encrypted is referred to as ciphertext. Data that is not encrypted is referred to as plaintext. The data that is encrypted into ciphertext is considered securely secret from anyone who does not have the decryption key.

The following encryption algorithms exist:
Symmetric encryption algorithm
A common key is used to both encrypt and decrypt data. Therefore, the encryption key can be calculated from the decryption key and the decryption key can be calculated from the encryption key.
Asymmetric encryption algorithm
Two keys are used to encrypt and decrypt data. A public key that is known to everyone and a private key that is known only to the receiver or sender of the message. The public and private keys are related in such a way that only the public key can be used to encrypt messages and only the corresponding private key can be used to decrypt them.
The following characteristics of encryption create special considerations:
Security exposures
Occurs when an unauthorized person has access to the plain text encryption key and the cipher text.
Data loss
Occurs if all copies of the decryption key are lost. If you lose the decryption key, you cannot decrypt the associated ciphertext. The data that is contained in the ciphertext is considered cryptographically erased. If the only copies of data are cryptographically erased ciphertext, access to that data is permanently lost.
To preserve the security of encryption keys, many implementation techniques can be used to ensure the following conditions: