A cryptosystem is a set of cryptographic algorithms that map ciphertexts and plaintexts to each other.