A cryptosystem is a set of cryptographic algorithms that map ciphertexts and plaintexts to each other.[1]
Private-key cryptosystems use the same key for encryption and decryption.
Public-key cryptosystems use a public key for encryption and a private key for decryption.