vendredi 21 septembre 2018

Why rand() call considered as potentially dangerous

I have been using rand() function to generate random numbers. When I checked my code through a CWE check tool, It is considering rand() as a potentially dangerous function and suggesting to use crypto libraries. Can anyone please elaborate it? What is the best and secure alternative to generate random numbers




Aucun commentaire:

Enregistrer un commentaire