Encryption is the function of a cipher that transforms usable data into an unreadable form.
It provides confidentiality 1) if a secret is used in the encryption.
There is two class of encryption.
- an asymmetric encryption that used the private key of the private/public key pair
- a symmetric encryption that uses:
- no key such as digest (hash) or base encryption (base64, 36, …)