Will set the Initial Value, used in conjunction with CBC mode
(self, IV)
| 755 | key.setPadMode(mode) |
| 756 | |
| 757 | def setIV(self, IV): |
| 758 | """Will set the Initial Value, used in conjunction with CBC mode""" |
| 759 | _baseDes.setIV(self, IV) |
| 760 | for key in (self.__key1, self.__key2, self.__key3): |
| 761 | key.setIV(IV) |
| 762 | |
| 763 | def encrypt(self, data, pad=None, padmode=None): |
| 764 | """encrypt(data, [pad], [padmode]) -> bytes |