Home
last modified time | relevance | path

Searched refs:hexdigest (Results 1 – 25 of 146) sorted by relevance

123456

/external/autotest/server/site_tests/firmware_Cr50U2fPowerwash/
Dfirmware_Cr50U2fPowerwash.py40 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/
Dtest_pep247.py53 self.assertEqual(obj1.hexdigest(), obj_copy.hexdigest())
55 digest, hexdigest = obj1.digest(), obj1.hexdigest()
59 self.assertEqual(hd2, hexdigest)
Dtest_hashlib.py105 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())
Dtest_hmac.py16 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(),
Dtest_sha.py20 computed = obj.hexdigest()
25 computed_again = obj.hexdigest()
Dtest_md5.py23 self.assertEqual(md5(s).hexdigest(), expected)
40 h = m.hexdigest()
/external/python/cpython3/Lib/test/
Dtest_hashlib.py180 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 …]
Dtest_hmac.py27 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/
Dstep-03-validate-bin.py28 hashlib.md5(data).hexdigest())
33 hashlib.sha1(data).hexdigest())
38 hashlib.sha256(data).hexdigest())
/external/python/cpython2/Modules/
Dmd5module.c112 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/
Dfirmware_Cr50PinWeaverServer.py60 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/
Dhashlib.rst52 :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/
DUpdateCMakeLists.pl91 my $digestA = Digest::MD5->new->addfile(*FILE)->hexdigest;
97 my $digestB = Digest::MD5->new->addfile(*FILE)->hexdigest;
/external/llvm/utils/
DUpdateCMakeLists.pl90 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/
DUpdateCMakeLists.pl90 my $digestA = Digest::MD5->new->addfile(*FILE)->hexdigest;
96 my $digestB = Digest::MD5->new->addfile(*FILE)->hexdigest;
/external/protobuf/python/google/protobuf/
Dproto_builder.py97 proto_file_name = fields_hash.hexdigest() + '.proto'
102 fields_hash.hexdigest())
/external/autotest/client/site_tests/login_OwnershipNotRetaken/
Dlogin_OwnershipNotRetaken.py68 if hash.hexdigest() != hash2.hexdigest():
/external/vulkan-validation-layers/scripts/
Dexternal_revision_generator.py85 return sha1.hexdigest()
91 return sha1.hexdigest()
/external/python/cpython2/Lib/
Dhmac.py119 def hexdigest(self): member in HMAC
123 return h.hexdigest()
/external/python/httplib2/tests/
D__init__.py397 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/
Dchecksum.py50 checksum_dict[basename(checksum_path)] = hashlib.sha1(file_contents).hexdigest()
94 observed_sha1 = hashlib.sha1(file_contents).hexdigest()
/external/chromium-trace/catapult/systrace/systrace/
Doutput_generator_unittest.py110 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/
Dllvm_checksum.py113 file_digest = hasher.hexdigest()
127 project_checksums[proj.name] = hasher.hexdigest()
/external/python/cpython3/Lib/
Dhmac.py136 def hexdigest(self): member in HMAC
140 return h.hexdigest()
/external/antlr/runtime/Python/
Dez_setup.py49 digest = md5(data).hexdigest()
197 md5_data[base] = md5(f.read()).hexdigest()

123456