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

Function sha256

src/commoncode/hash.py:271–272  ·  view source on GitHub ↗
(location)

Source from the content-addressed store, hash-verified

269
270
271def sha256(location):
272 return checksum(location, name="sha256", base64=False)
273
274
275def sha512(location):

Callers 1

test_sha256_checksumMethod · 0.90

Calls 1

checksumFunction · 0.85

Tested by 1

test_sha256_checksumMethod · 0.72