crypto/algorithms/aescipher.py
def decryptString(self, encryptedMessage):
        ''' 
        gets the IV used to encrypt the message
        creates cipher with given IV and assumedly the same key that was used for encryption
        decrypts the message
        '''
        iv = encryptedMessage[:AES.block_size]
        cipher = AES.new(self.key, AES.MODE_CBC, iv)
        decryptedMessage = cipher.decrypt(encryptedMessage[AES.block_size:])
        return self._unpad(decryptedMessage).decode('utf-8')
 
        gets the IV used to encrypt the message
        creates cipher with given IV and assumedly the same key that was used for encryption
        decrypts the message
        
gets the IV used to encrypt the message
creates cipher with given IV and assumedly the same key that was used for encryption
decrypts the message
gets the IV used to encrypt the message creates cipher with given IV and assumedly the same key that was used for encryption decrypts the message
def decryptString(self, encryptedMessage):
        iv = encryptedMessage[:AES.block_size]
        cipher = AES.new(self.key, AES.MODE_CBC, iv)
        decryptedMessage = cipher.decrypt(encryptedMessage[AES.block_size:])
        return self._unpad(decryptedMessage).decode('utf-8')
def decryptString ( self , encryptedMessage ) : iv = encryptedMessage [ : AES . block_size ] cipher = AES . new ( self . key , AES . MODE_CBC , iv ) decryptedMessage = cipher . decrypt ( encryptedMessage [ AES . block_size : ] ) return self . _unpad ( decryptedMessage ) . decode ( 'utf-8' )
gets the IV used to encrypt the message
creates cipher with given IV and assumedly the same key that was used for encryption
decrypts the message
gets the IV used to encrypt the message creates cipher with given IV and assumedly the same key that was used for encryption decrypts the message
''' 
        gets the IV used to encrypt the message
        creates cipher with given IV and assumedly the same key that was used for encryption
        decrypts the message
        '''
self
encryptedMessage