Searched refs:fromhex (Results 1 – 7 of 7) sorted by relevance
137 def float(value, fromhex='false'): argument144 if boolean(fromhex):145 return _float.fromhex(value)
341 fromhex (int a) in fromhex() function782 pktcsum = fromhex (readchar (remote_timeout)) << 4; in read_frame()783 pktcsum |= fromhex (readchar (remote_timeout)); in read_frame()
165 cipher = AES.new(bytearray.fromhex(args.enc_key), AES.MODE_GCM, nonce)
199 cipher = AES.new(bytearray.fromhex(args.enc_key), AES.MODE_GCM)
113 +s.sendto(bytes.fromhex(m), a)
129 return "sha512-" + base64.b64encode(bytes.fromhex(sha512)).decode()