I want to create a random 8 bytes string without using os.urandom
or random
library.
With os
, I can do ''.join(os.urandom(8))
.
With random
, I can do ''.join(chr(random.randint(0, 255)) for _ in range(8))
.
How can I do it without these 2 libraries?
Aucun commentaire:
Enregistrer un commentaire