Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/shadowsocks/shadowsocks
/ update
Method
update
shadowsocks/crypto/table.py:62–66 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
60
self._op = op
61
62
def
update(self, data):
63
if
self._op:
64
return
translate(data, self._encrypt_table)
65
else
:
66
return
translate(data, self._decrypt_table)
67
68
69
ciphers = {
Callers
12
__init__
Method · 0.45
encrypt.py
File · 0.45
EVP_BytesToKey
Function · 0.45
encrypt
Method · 0.45
decrypt
Method · 0.45
encrypt_all_m
Function · 0.45
dencrypt_all
Function · 0.45
encrypt_all
Function · 0.45
handle_event
Method · 0.45
create_cipher
Function · 0.45
get_table
Function · 0.45
run_cipher
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected