def METHOD_NAME():
    """ "Generate and return a salt string"""
    saltlen = 8
    if hasattr(os, 'urandom') and callable(os.urandom):
        raw_salt = os.urandom(saltlen)
    else:
        raw_salt = "".join(
            [chr(x) for x in [random.randint(0, 255) for x in range(saltlen)]]
        )
    return base64.b64encode(raw_salt).strip().decode('ASCII')