Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Tencent/CodeAnalysis
/ __encode
Function
__encode
server/projects/analysis/util/cdcrypto.py:20–23 ·
view source on GitHub ↗
(content)
Source
from the content-addressed store, hash-verified
18
19
20
def
__encode(content):
21
if
type(content) == str:
22
content = content.encode(
"utf-8"
)
23
return
content
24
25
26
def
__decode(content):
Callers
2
encrypt
Function · 0.70
decrypt
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected