MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / hexdigest

Method hexdigest

src/commoncode/hash.py:84–88  ·  view source on GitHub ↗

Return a string hex digest for this hash.

(self)

Source from the content-addressed store, hash-verified

82 return self.binh.digest()[: self.digest_size]
83
84 def hexdigest(self):
85 """
86 Return a string hex digest for this hash.
87 """
88 return self.msg_len and binascii.hexlify(self.digest()).decode("utf-8")
89
90 def b64digest(self):
91 """

Callers 10

from_fileMethod · 0.80
get_uuid_on_contentFunction · 0.80
_unique_idMethod · 0.80
checksum_from_chunksFunction · 0.80
multi_checksumsFunction · 0.80
rand_dataMethod · 0.80
test_short_hashesMethod · 0.80

Calls 2

digestMethod · 0.95
decodeMethod · 0.45