Home
last modified time | relevance | path

Searched refs:generate_random_string (Results 1 – 5 of 5) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/webapp2/tests/
Dextras_security_test.py11 self.assertRaises(ValueError, security.generate_random_string, None)
12 self.assertRaises(ValueError, security.generate_random_string, 0)
13 self.assertRaises(ValueError, security.generate_random_string, -1)
14 self.assertRaises(ValueError, security.generate_random_string, 1, 1)
16 token = security.generate_random_string(16)
19 token = security.generate_random_string(32)
22 token = security.generate_random_string(64)
25 token = security.generate_random_string(128)
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/
Dsecurity.py39 def generate_random_string(length=None, entropy=None, pool=ALPHANUMERIC): function
123 salt = method != 'plain' and generate_random_string(length) or ''
217 create_token = generate_random_string
Dsessions.py234 return security.generate_random_string(entropy=128)
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/api/webapp2_extras/
Dsecurity.rst10 .. autofunction:: generate_random_string
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/appengine/auth/
Dmodels.py174 token = token or security.generate_random_string(entropy=128)