MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / hexdigest

Method hexdigest

src/Crypt/CryptHash.py:45–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 self.sha512 = hashlib.sha512()
44
45 def hexdigest(self):
46 return self.sha512.hexdigest()[0:64]
47
48 def digest(self):
49 return self.sha512.digest()[0:32]

Callers 6

testShaMethod · 0.95
sha512sumFunction · 0.45
sha256sumFunction · 0.45
randomFunction · 0.45
wrapSocketMethod · 0.45
actionWrapperMethod · 0.45

Calls

no outgoing calls

Tested by 1

testShaMethod · 0.76