Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/openai/plugins
/ _sha256_text
Function
_sha256_text
plugins/codex-security/scripts/finalize_scan_contract.py:107–108 ·
view source on GitHub ↗
(value: str)
Source
from the content-addressed store, hash-verified
105
106
107
def
_sha256_text(value: str) -> str:
108
return
hashlib.sha256(value.encode(
"utf-8"
)).hexdigest()
109
110
111
def
_sha256_bytes(value: bytes) -> str:
Callers
2
_fingerprint
Function · 0.85
_stable_id
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected