Searched refs:hexdig (Results 1 – 3 of 3) sorted by relevance
255 static const char hexdig[] = "0123456789ABCDEF"; in do_hex_dump() local262 hextmp[0] = hexdig[*p >> 4]; in do_hex_dump()263 hextmp[1] = hexdig[*p & 0xf]; in do_hex_dump()
454 static const char hexdig[] = "0123456789ABCDEF"; in hex_to_string() local463 *q++ = hexdig[(*p >> 4) & 0xf]; in hex_to_string()464 *q++ = hexdig[*p & 0xf]; in hex_to_string()
1665 hexdig = hashlib.sha1(self.public_key).hexdigest()1666 o.write(' Public key (sha1): {}\n'.format(hexdig))