Home
last modified time | relevance | path

Searched refs:token_hex (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/test/
Dtest_secrets.py81 for func in (secrets.token_bytes, secrets.token_hex,
95 self.assertEqual(len(secrets.token_hex(None)), 2*size)
108 s = secrets.token_hex(n)
/third_party/python/Lib/
Dsecrets.py48 def token_hex(nbytes=None): function
/third_party/python/Doc/library/
Dsecrets.rst77 .. function:: token_hex([nbytes=None])
85 >>> token_hex(16) #doctest:+SKIP
/third_party/python/Lib/multiprocessing/
Dshared_memory.py44 name = _SHM_NAME_PREFIX + secrets.token_hex(nbytes)