def hashMessage(self, message):
    message_bytes = bytes.fromhex(message)
    return self.web3.sha3(((b'\x19Ethereum Signed Message:\n' + str(len(message_bytes)).encode()) + message_bytes)).hex()
def hashMessage(self, message):
    message_bytes = bytes.fromhex(message)
    return self.web3.sha3(((b'\x19Ethereum Signed Message:\n' + str(len(message_bytes)).encode()) + message_bytes)).hex()