the block "int from bytes" is incorrect.
Automatic generation is data = int.from_bytes(data, big)
the correction is data = int.from_bytes(data, 'big')
the block "int from bytes" is incorrect.
Automatic generation is data = int.from_bytes(data, big)
the correction is data = int.from_bytes(data, 'big')