MCPcopy Create free account
hub / github.com/ActiveState/code / encode

Method encode

recipes/Python/572159_SPICE/recipe-572159.py:275–278  ·  view source on GitHub ↗

Return an encrypted string.

(self, string)

Source from the content-addressed store, hash-verified

273 self.__dm2 = _decode_map_2(major)
274
275 def encode(self, string):
276 'Return an encrypted string.'
277 assert isinstance(string, str)
278 return _encode(string, self.__em1, self.__em2)
279
280 def decode(self, string):
281 'Return a decrypted string.'

Callers 4

win32_utf8_argvFunction · 0.45
getEpsFunction · 0.45
writeFileFunction · 0.45
testFunction · 0.45

Calls 1

_encodeFunction · 0.70

Tested by

no test coverage detected