ROBChain/poc/generate_string.py
2019-01-18 12:20:35 -05:00

5 lines
176 B
Python

with open('string.bin', 'rb') as stringFile:
with open('string.txt', 'w') as f:
for byte in stringFile.read():
print('byte %s' % hex(byte), file=f)