MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / setMode

Method setMode

pager_lib/smb/utils/pyDes.py:139–141  ·  view source on GitHub ↗

Sets the type of crypting mode, pyDes.ECB or pyDes.CBC

(self, mode)

Source from the content-addressed store, hash-verified

137 return self._mode
138
139 def setMode(self, mode):
140 """Sets the type of crypting mode, pyDes.ECB or pyDes.CBC"""
141 self._mode = mode
142
143 def getPadding(self):
144 """getPadding() -> bytes of length 1. Padding character."""

Callers 1

setModeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected