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

Function sha256_bytes

encrypt_lib/ecc.py:11–14  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

9from cryptography.hazmat.primitives.ciphers.aead import AESGCM
10
11def sha256_bytes(b):
12 sha = hashlib.sha256()
13 sha.update(b)
14 return sha.digest()
15
16def process(data, args):
17 # Generate ECC private key A

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected