def setMode(self, mode):
_baseDes.setMode(self, mode)<EOL>for key in (self.__key1, self.__key2, self.__key3):<EOL><INDENT>key.setMode(mode)<EOL><DEDENT>
Sets the type of crypting mode, pyDes.ECB or pyDes.CBC