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

Method update

src/Crypt/CryptHash.py:51–52  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

49 return self.sha512.digest()[0:32]
50
51 def update(self, data):
52 return self.sha512.update(data)
53
54
55def sha512t(data=None):

Callers 5

testShaMethod · 0.95
sha512sumFunction · 0.45
sha256sumFunction · 0.45
hashFilesMethod · 0.45
signMethod · 0.45

Calls

no outgoing calls

Tested by 1

testShaMethod · 0.76