invalid mehtod in _UserFriendlyRNG

Bug #2067385 reported by Ali Eyvazi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python-Crypto
New
Undecided
Unassigned

Bug Description

Dear Developers,

Since time.clock() has been deprecated in python 3.8 you should change it to another method like time.process_time() or something like it.

to test this part of your code, use below code:

from Crypto.Random import get_random_bytes
key = get_random_bytes(32)
key_hex = key.hex()

Regards,
Ali

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.