Closed dogtopus closed 4 years ago
@edgeyboy Alternatively, maybe just switch to something like codecs.encode(struct.pack('>Q', int(hwid, 16)), 'hex')
. This also handles further sanitizations. Shorter HWIDs will be padded to 64-bit with 0s and longer will throw error.
For example: