An implementation of the RSA algorithm in C++