import string


def getSymbols(base):
    """Gets the necessary symbols for encoding/decoding"""
    if base == 64:
        set = string.ascii_uppercase + string.ascii_lowercase + string.digits + '+/'
    else:
        set = string.printable

    return set[:base]