S5C7: implement RSA.