def prepare_hex_string(number, base=10):
    """
    Gets an int number, and returns the hex representation with even length padded to the left with zeroes
    """
    int_number = int(number, base)
    hex_number = format(int_number, 'X')

    # Takes the string and pads to the left to make sure the number of characters is even
    justify_hex_number = hex_number.rjust((len(hex_number) % 2) + len(hex_number), '0')

    return justify_hex_number