Remix.run Logo
SkiFire13 3 hours ago

Repeated squares is a way to implement exponentiation, not multiplication.

MattPalmer1086 2 hours ago | parent [-]

Oops, yes, I meant exponentiation. Which you need (mod n) in RSA.