The same key is used for encryption and decryption in symmetric encryption. AES (Advanced Encryption Standard) is an example of symmetric encryption. A pair of keys is used for asymmetric encryption, commonly called public-key encryption: a public key for encryption and a private key for decryption. RSA and ECC (Elliptic Curve Cryptography) are two examples.