/external/autotest/server/site_tests/firmware_Cr50U2fPowerwash/ |
D | firmware_Cr50U2fPowerwash.py | 40 hashlib.sha256('test_challenge').hexdigest(), 41 hashlib.sha256('test_application').hexdigest()) 54 hashlib.sha256('test_challenge').hexdigest(), 55 hashlib.sha256('test_application').hexdigest(), 73 hashlib.sha256('test_challenge').hexdigest(), 74 hashlib.sha256('test_application').hexdigest(),
|
/external/python/cpython2/Lib/test/ |
D | test_pep247.py | 53 self.assertEqual(obj1.hexdigest(), obj_copy.hexdigest()) 55 digest, hexdigest = obj1.digest(), obj1.hexdigest() 59 self.assertEqual(hd2, hexdigest)
|
D | test_hashlib.py | 105 c.hexdigest() 147 self.assertTrue(hexstr(h.digest()) == h.hexdigest()) 173 computed = hash_object_constructor(data).hexdigest() 188 computed = h.hexdigest() 198 expected = hashlib.new(algorithm_name, str(u'spam')).hexdigest() 372 expected_hash = hashlib.sha1(data*num_threads).hexdigest() 394 self.assertEqual(expected_hash, hasher.hexdigest())
|
D | test_hmac.py | 16 self.assertEqual(h.hexdigest().upper(), digest.upper()) 50 self.assertEqual(h.hexdigest().upper(), digest.upper()) 84 self.assertEqual(h.hexdigest().lower(), hexdigests[hashfunc]) 268 dig = h.hexdigest() 304 self.assertTrue(h1.hexdigest() == h2.hexdigest(),
|
D | test_sha.py | 20 computed = obj.hexdigest() 25 computed_again = obj.hexdigest()
|
D | test_md5.py | 23 self.assertEqual(md5(s).hexdigest(), expected) 40 h = m.hexdigest()
|
/external/python/cpython3/Lib/test/ |
D | test_hashlib.py | 180 c.hexdigest(16) 182 c.hexdigest() 228 self.assertEqual(hexstr(h.digest(16)), h.hexdigest(16)) 231 self.assertEqual(hexstr(h.digest()), h.hexdigest()) 240 for digest in h.digest, h.hexdigest: 289 def check(self, name, data, hexdigest, shake=False, **kwargs): argument 290 length = len(hexdigest)//2 291 hexdigest = hexdigest.lower() 297 computed = m.hexdigest() if not shake else m.hexdigest(length) 299 computed, hexdigest, [all …]
|
D | test_hmac.py | 27 self.assertEqual(h.hexdigest().upper(), digest.upper()) 34 self.assertEqual(h.hexdigest().upper(), digest.upper()) 82 self.assertEqual(h.hexdigest().upper(), digest.upper()) 89 self.assertEqual(h.hexdigest().upper(), digest.upper()) 134 self.assertEqual(h.hexdigest().lower(), hexdigests[hashfunc]) 140 self.assertEqual(h.hexdigest().lower(), hexdigests[hashfunc]) 311 self.assertEqual(h.hexdigest().upper(), digest) 346 self.assertEqual(h.hexdigest(), '34325b639da4cfd95735b381e28cb864') 354 self.assertEqual(h.hexdigest(), '34325b639da4cfd95735b381e28cb864') 361 self.assertEqual(h.hexdigest(), '34325b639da4cfd95735b381e28cb864') [all …]
|
/external/brotli/scripts/dictionary/ |
D | step-03-validate-bin.py | 28 hashlib.md5(data).hexdigest()) 33 hashlib.sha1(data).hexdigest()) 38 hashlib.sha256(data).hexdigest())
|
/external/python/cpython2/Modules/ |
D | md5module.c | 112 unsigned char hexdigest[32]; in md5_hexdigest() local 124 hexdigest[j++] = c; in md5_hexdigest() 127 hexdigest[j++] = c; in md5_hexdigest() 129 return PyString_FromStringAndSize((char*)hexdigest, 32); in md5_hexdigest()
|
/external/autotest/server/site_tests/firmware_Cr50PinWeaverServer/ |
D | firmware_Cr50PinWeaverServer.py | 60 le_secret = sha256('1234').hexdigest() 61 he_secret = sha256('ag3#l4Z9').hexdigest() 62 reset_secret = sha256('W8oE@Ja2mq.R1').hexdigest()
|
/external/python/cpython3/Doc/library/ |
D | hashlib.rst | 52 :meth:`hexdigest` methods. 99 >>> hashlib.sha224(b"Nobody inspects the spammish repetition").hexdigest() 114 >>> h.hexdigest() 185 .. method:: hash.hexdigest() 213 .. method:: shake.hexdigest(length) 421 :meth:`digest` (or :meth:`hexdigest` for hex-encoded string). 426 >>> h.hexdigest() 434 >>> blake2b(b'Hello world').hexdigest() 445 >>> h.hexdigest() 459 >>> h.hexdigest() [all …]
|
/external/swiftshader/third_party/LLVM/utils/ |
D | UpdateCMakeLists.pl | 91 my $digestA = Digest::MD5->new->addfile(*FILE)->hexdigest; 97 my $digestB = Digest::MD5->new->addfile(*FILE)->hexdigest;
|
/external/llvm/utils/ |
D | UpdateCMakeLists.pl | 90 my $digestA = Digest::MD5->new->addfile(*FILE)->hexdigest; 96 my $digestB = Digest::MD5->new->addfile(*FILE)->hexdigest;
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/ |
D | UpdateCMakeLists.pl | 90 my $digestA = Digest::MD5->new->addfile(*FILE)->hexdigest; 96 my $digestB = Digest::MD5->new->addfile(*FILE)->hexdigest;
|
/external/protobuf/python/google/protobuf/ |
D | proto_builder.py | 97 proto_file_name = fields_hash.hexdigest() + '.proto' 102 fields_hash.hexdigest())
|
/external/autotest/client/site_tests/login_OwnershipNotRetaken/ |
D | login_OwnershipNotRetaken.py | 68 if hash.hexdigest() != hash2.hexdigest():
|
/external/vulkan-validation-layers/scripts/ |
D | external_revision_generator.py | 85 return sha1.hexdigest() 91 return sha1.hexdigest()
|
/external/python/cpython2/Lib/ |
D | hmac.py | 119 def hexdigest(self): member in HMAC 123 return h.hexdigest()
|
/external/python/httplib2/tests/ |
D | __init__.py | 397 headers.setdefault("etag", '"{0}"'.format(hashlib.md5(body).hexdigest())) 586 ha2 = hasher(":".join((request.method, request.uri)).encode()).hexdigest() 603 ).hexdigest() 608 ).hexdigest() 609 rspauth_ha2 = hasher(":{}".format(request.uri).encode()).hexdigest() 621 ).hexdigest()
|
/external/fonttools/Snippets/ |
D | checksum.py | 50 checksum_dict[basename(checksum_path)] = hashlib.sha1(file_contents).hexdigest() 94 observed_sha1 = hashlib.sha1(file_contents).hexdigest()
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | output_generator_unittest.py | 110 open(output_generator_out, 'rb').read()).hexdigest() 112 open(data_builder_out, 'rb').read()).hexdigest()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/docker/scripts/llvm_checksum/ |
D | llvm_checksum.py | 113 file_digest = hasher.hexdigest() 127 project_checksums[proj.name] = hasher.hexdigest()
|
/external/python/cpython3/Lib/ |
D | hmac.py | 136 def hexdigest(self): member in HMAC 140 return h.hexdigest()
|
/external/antlr/runtime/Python/ |
D | ez_setup.py | 49 digest = md5(data).hexdigest() 197 md5_data[base] = md5(f.read()).hexdigest()
|