Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Build a cryptographically random nonce.

:returns:
    Hex string, with 20 bytes (40 hex chars).
:rtype:
    string

        def nonce():
    """
    Build a cryptographically random nonce.

    :returns:
        Hex string, with 20 bytes (40 hex chars).
    :rtype:
        string
    """
    return binascii.hexlify(os.urandom(20))
        


src/m/a/manhattan-0.2/manhattan/middleware.py   manhattan(Download)
from webob import Request, Response
 
from .visitor import Visitor
from .util import nonce, transparent_pixel, pixel_tag, Signer
 
            fresh = False
        else:
            vid = nonce()
            fresh = True