i need to iteratively generate number x, which follow these conditions
- (x^z) mod n * x < n
- n is known, z changes in every cycle
i need it because I'm implementing timing attack on RSA, and it's needed to generate such number to measure time without modular reduction
Thanks.