mercredi 15 février 2023

Is there a significant difference between using a in built random number generator vs using cryptographic random number generator?

I was going through the Crypto++ library RNG page and I was wondering is there any issues with using something like

 std::srand(std::time(nullptr)); //using the current time as seed 

compared to the one of the rng in crypto library?

I'm beginner in cryptography, but one possible argument could be that the crypto rng functions are collision resistant ? However, I'm not sure how much better/stronger they are quantitively




Aucun commentaire:

Enregistrer un commentaire