MCPcopy 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
107def _sha256_text(value: str) -> str:
108 return hashlib.sha256(value.encode("utf-8")).hexdigest()
109
110
111def _sha256_bytes(value: bytes) -> str:

Callers 2

_fingerprintFunction · 0.85
_stable_idFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected