decrypt

RSA decryption problem

I am working on the RSA algorithm and in general everything works out, but there is a problem with decryption. For some numbe ... (d) || test != 1); return d; } Why is the decryption broken at some points ? After all, the condition (x source