Hi, you can use secrets library.. "pip install secrets"
import secrets
for n in range(100): # replace 100 by your number of time
bits = secrets.randbits(256) # replace 256 by your choosen range (here this is the number of bits)
with open('result.txt', 'a') as file:
file.write("\n" + hex(bits)[2:])
et voila !
