A simple cryptosystem that can perform ElGamal, RSA, and Knapsack encryption and decryption algorithms.