Searched refs:hexdig (Results 1 – 3 of 3) sorted by relevance
275 static const char hexdig[] = "0123456789ABCDEF"; in do_hex_dump() local282 hextmp[0] = hexdig[*p >> 4]; in do_hex_dump()283 hextmp[1] = hexdig[*p & 0xf]; in do_hex_dump()
455 static const char hexdig[] = "0123456789ABCDEF"; in x509v3_bytes_to_hex() local464 *q++ = hexdig[(*p >> 4) & 0xf]; in x509v3_bytes_to_hex()465 *q++ = hexdig[*p & 0xf]; in x509v3_bytes_to_hex()
1720 hexdig = hashlib.sha1(self.public_key).hexdigest()1721 o.write(' Public key (sha1): {}\n'.format(hexdig))