jeudi 11 juin 2020

Instanciate a Random field as SecureRandom

I am using SecureRandom to generate tickets for user authentication. Currently I am using it like this:

Random random = new SecureRandom()

Does that have any consequences for the security of my application instead of explicitly use SecureRandom type for my RNG?




Aucun commentaire:

Enregistrer un commentaire