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

Method b64digest

src/commoncode/hash.py:90–94  ·  view source on GitHub ↗

Return a string base64 digest for this hash.

(self)

Source from the content-addressed store, hash-verified

88 return self.msg_len and binascii.hexlify(self.digest()).decode("utf-8")
89
90 def b64digest(self):
91 """
92 Return a string base64 digest for this hash.
93 """
94 return self.msg_len and urlsafe_b64encode(self.digest()).decode("utf-8")
95
96 def intdigest(self):
97 """

Callers 2

checksum_from_chunksFunction · 0.80
test_get_hasherMethod · 0.80

Calls 3

digestMethod · 0.95
urlsafe_b64encodeFunction · 0.90
decodeMethod · 0.45

Tested by 1

test_get_hasherMethod · 0.64