MCPcopy Index your code
hub / github.com/RustPython/RustPython / sha256sum

Function sha256sum

Lib/test/test_tarfile.py:48–49  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

46 zstd = None
47
48def sha256sum(data):
49 return sha256(data).hexdigest()
50
51TEMPDIR = os.path.abspath(os_helper.TESTFN) + "-tardir"
52tarextdir = TEMPDIR + '-extract-test'

Calls 2

sha256Function · 0.85
hexdigestMethod · 0.45

Tested by

no test coverage detected