MCPcopy Create free account
hub / github.com/echQoQ/RustSL / sha256_bytes

Function sha256_bytes

encrypt_lib/ipv6.py:7–10  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

5import base64
6
7def sha256_bytes(b):
8 sha = hashlib.sha256()
9 sha.update(b)
10 return sha.digest()
11
12def bytes_to_ipv6(b):
13 parts = []

Callers 1

processFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected