Hacker News new | ask | show | jobs
by misterrobot 3450 days ago
"Division" i.e. multiplying by the multiplicative inverse doesn't require the modulus be prime; it just requires that the number you are finding the inverse of and the modulus are relatively prime.