Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/db/
Dtest_password.py59 myhashfunc = hashlib.md5
62 hashfunc = myhashfunc #hashlib.md5 #lambda cls,msg: hmac.new('mysecret',msg)
77 expected = myhashfunc('bar').hexdigest() #hmac.new('mysecret','bar').hexdigest()
101 myhashfunc=lambda msg: hmac.new('mysecret', msg) function
102 cls = self.test_model(hashfunc=myhashfunc)
105 expected = myhashfunc('hello').hexdigest()