Cryptographic algorithms: RSA, Elgamal, Schnorr on C++