Lines Matching refs:encode
744 # Since the data can be binary, we encode them by base64.1462 self.wfile.write('%s\t%s\n' % (action, bytes(sessionID).encode('hex')))1493 self.wfile.write(hashlib.sha256(channel_id).digest().encode('base64'))