crypto/algorithms/des3cipher.py
def decryptString(self, encryptedMessage):
        ''' 
        the IV is the first block
        '''
        iv = encryptedMessage[:DES3.block_size]
        cipher = DES3.new(self.key, DES3.MODE_CBC, iv)
        decryptedMessage = cipher.decrypt(encryptedMessage[DES3.block_size:])
        return self._unpad(decryptedMessage).decode('utf-8')
 
        the IV is the first block
        
the IV is the first block
the IV is the first block
def decryptString(self, encryptedMessage):
        iv = encryptedMessage[:DES3.block_size]
        cipher = DES3.new(self.key, DES3.MODE_CBC, iv)
        decryptedMessage = cipher.decrypt(encryptedMessage[DES3.block_size:])
        return self._unpad(decryptedMessage).decode('utf-8')
def decryptString ( self , encryptedMessage ) : iv = encryptedMessage [ : DES3 . block_size ] cipher = DES3 . new ( self . key , DES3 . MODE_CBC , iv ) decryptedMessage = cipher . decrypt ( encryptedMessage [ DES3 . block_size : ] ) return self . _unpad ( decryptedMessage ) . decode ( 'utf-8' )
the IV is the first block
the IV is the first block
''' 
        the IV is the first block
        '''
self
encryptedMessage