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

Method digest

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

Source from the content-addressed store, hash-verified

46 return self.sha512.hexdigest()[0:64]
47
48 def digest(self):
49 return self.sha512.digest()[0:32]
50
51 def update(self, data):
52 return self.sha512.update(data)

Callers 13

sha512sumFunction · 0.45
randomFunction · 0.45
publickeyToOnionFunction · 0.45
__init__Method · 0.45
testHashCacheMethod · 0.45
testBootstrapperDbMethod · 0.45
testPassiveMethod · 0.45
testAddOnionMethod · 0.45
testRequestPeersMethod · 0.45
testAnnounceMethod · 0.45
eciesEncryptFunction · 0.45

Calls

no outgoing calls

Tested by 7

testHashCacheMethod · 0.36
testBootstrapperDbMethod · 0.36
testPassiveMethod · 0.36
testAddOnionMethod · 0.36
testRequestPeersMethod · 0.36
testAnnounceMethod · 0.36