MCPcopy
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
36def random_string(length):
37 return os.urandom(length)
38
39
40cached_keys = {}

Callers 3

__init__Method · 0.85
gen_key_ivFunction · 0.85
encrypt_allFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected