I am trying to generate a random BigInteger in java, but I need to generate the same value when using the same seed for the secure random:
BigInteger P = new BigInteger(1024,1,new SecureRandom(SEED));
Strangely the above line of code generate a different value even if the SEED value is the same, what is going wrong?
Aucun commentaire:
Enregistrer un commentaire