RSA implementation step 1-3

Variable use UInt64