MCPcopy
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
69ciphers = {

Callers 12

__init__Method · 0.45
encrypt.pyFile · 0.45
EVP_BytesToKeyFunction · 0.45
encryptMethod · 0.45
decryptMethod · 0.45
encrypt_all_mFunction · 0.45
dencrypt_allFunction · 0.45
encrypt_allFunction · 0.45
handle_eventMethod · 0.45
create_cipherFunction · 0.45
get_tableFunction · 0.45
run_cipherFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected