An implementation of the RSA algorithm