To create a random string that is 8 bytes long in python
import os rand_string = os.urandom(8) print(rand_string)
b'\x9dv}$m\xd1Rq'
Comment here