MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / ciphering

Method ciphering

src/lib/pyelliptic/cipher.py:72–77  ·  view source on GitHub ↗

Do update and final in one method

(self, input)

Source from the content-addressed store, hash-verified

70 return buffer.raw[0:i.value]
71
72 def ciphering(self, input):
73 """
74 Do update and final in one method
75 """
76 buff = self.update(input)
77 return buff + self.final()
78
79 def __del__(self):
80 if OpenSSL._hexversion > 0x10100000 and not OpenSSL._libreSSL:

Callers 5

raw_encryptMethod · 0.95
decryptMethod · 0.95
actionAesDecryptMethod · 0.95
eciesEncryptFunction · 0.95
actionAesEncryptMethod · 0.80

Calls 2

updateMethod · 0.95
finalMethod · 0.95

Tested by

no test coverage detected