Very simple RSA implementation