MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / encrypt

Method encrypt

github/PublicKey.py:119–120  ·  view source on GitHub ↗
(self, unencrypted_value: str)

Source from the content-addressed store, hash-verified

117 return self._url.value
118
119 def encrypt(self, unencrypted_value: str) -> str:
120 return encrypt(self.key, unencrypted_value)
121
122 def _useAttributes(self, attributes: dict[str, Any]) -> None:
123 if "created_at" in attributes: # pragma no branch

Callers 4

encryptFunction · 0.80
create_secretMethod · 0.80
create_secretMethod · 0.80
create_secretMethod · 0.80

Calls 1

encryptFunction · 0.85

Tested by

no test coverage detected