9 lines
180 B
Python
9 lines
180 B
Python
import secrets
|
|
|
|
rndsize = 488*500+5
|
|
|
|
rndbytes = secrets.token_bytes(rndsize)
|
|
|
|
open('files/data.bin', 'wb').write(rndbytes)
|
|
|
|
print('data.bin generated with size %d bytes' % rndsize) |