Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
5
import
base64
6
7
def
sha256_bytes(b):
8
sha = hashlib.sha256()
9
sha.update(b)
10
return
sha.digest()
11
12
def
bytes_to_ipv6(b):
13
parts = []
Callers
1
process
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected