Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/shadowsocks/shadowsocks
/ random_string
Function
random_string
shadowsocks/encrypt.py:36–37 ·
view source on GitHub ↗
(length)
Source
from the content-addressed store, hash-verified
34
35
36
def
random_string(length):
37
return
os.urandom(length)
38
39
40
cached_keys = {}
Callers
3
__init__
Method · 0.85
gen_key_iv
Function · 0.85
encrypt_all
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected