The number of bits is fed to the input. Based on their number, a random prime number of the BigInteger type is generated. I have a check function for simplicity. But I don’t know how to generate from bits
The number of bits is fed to the input. Based on their number, a random prime number of the BigInteger type is generated. I have a check function for simplicity. But I don’t know how to generate from bits
Source: https://ru.stackoverflow.com/questions/919216/
All Articles
простоеnumber? See the RSA key generation algorithm. - NewView