From 'import secrets' and 'import random' in Python, what makes those two methods different from each other? I know that randbelow from secrets offer better security, but what makes it so? If I were just making a simple program for myself and I want to generate a random number, would it be unusual to use 'secrets.randbelow()'?
Aucun commentaire:
Enregistrer un commentaire