MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / sha256

Function sha256

scripts/verify_hashes.py:12–14  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

10 pass
11
12def sha256(path):
13 with open(filename,"rb") as f:
14 return hashlib.sha256(f.read()).hexdigest()
15
16url = 'https://binary.ninja/js/hashes.json'
17r = requests.get(url)

Callers 1

verify_hashes.pyFile · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected