import codecs


def make_base64(data):
    """
    Takes a string of hex values and returns a base64 encoded string.

    :param data: string of Hex
    :return: base64 encoded string
    """
    return codecs.encode(codecs.decode(data, 'hex'), 'base64').decode('utf-8').replace('\n', '')