'A digest-authentication <nonce>, constructed as suggested in RFC 2069'

def make_nonce(self, request):

    ip = request.channel.server.ip
    now = str(long(time.time()))
    if (now[(-1):] == 'L'):
        now = now[:(-1)]
    private_key = str(id(self))
    nonce = ':'.join([ip, now, private_key])
    return self.apply_hash(nonce)
