MCPcopy
hub / github.com/shadowsocks/shadowsocks / __init__

Method __init__

shadowsocks/crypto/table.py:58–60  ·  view source on GitHub ↗
(self, cipher_name, key, iv, op)

Source from the content-addressed store, hash-verified

56
57class TableCipher(object):
58 def __init__(self, cipher_name, key, iv, op):
59 self._encrypt_table, self._decrypt_table = init_table(key)
60 self._op = op
61
62 def update(self, data):
63 if self._op:

Callers

nothing calls this directly

Calls 1

init_tableFunction · 0.85

Tested by

no test coverage detected