this kind of equations is highly used in cryptography