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

Method setPadMode

pager_lib/smb/utils/pyDes.py:157–159  ·  view source on GitHub ↗

Sets the type of padding mode, pyDes.PAD_NORMAL or pyDes.PAD_PKCS5

(self, mode)

Source from the content-addressed store, hash-verified

155 return self._padmode
156
157 def setPadMode(self, mode):
158 """Sets the type of padding mode, pyDes.PAD_NORMAL or pyDes.PAD_PKCS5"""
159 self._padmode = mode
160
161 def getIV(self):
162 """getIV() -> bytes"""

Callers 1

setPadModeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected