

def create_token(self, email):
    salt = sha_constructor(str(random.random())).hexdigest()[:5]
    token = sha_constructor((salt + email)).hexdigest()
    return token

dataset/ETHPy150Open nathanborror/django-basic-apps/basic/invitations/models.py InvitationManager.create_token/original