Simple RSA implementation.