Searched refs:generate_random_string (Results 1 – 5 of 5) sorted by relevance
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/ |
D | extras_security_test.py | 11 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/ |
D | security.py | 39 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
|
D | sessions.py | 234 return security.generate_random_string(entropy=128)
|
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/api/webapp2_extras/ |
D | security.rst | 10 .. autofunction:: generate_random_string
|
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/appengine/auth/ |
D | models.py | 174 token = token or security.generate_random_string(entropy=128)
|