def decrypt_data(cipher, data):
    """
    Returns decrypted data.
    :param cipher: AES cipher
    :param data: Encrypted Data
    :return: Decrypted Data
    """
    return cipher.decrypt(data[:16]) + cipher.decrypt(data[16:])
