HomeSort by relevance Sort by last modified time
    Searched full:messagedigest (Results 26 - 50 of 755) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/webrtc/webrtc/base/
md5digest.h 15 #include "webrtc/base/messagedigest.h"
20 class Md5Digest : public MessageDigest {
sha1digest.h 14 #include "webrtc/base/messagedigest.h"
20 class Sha1Digest : public MessageDigest {
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
JcaDigestCalculatorProviderBuilder.java 6 import java.security.MessageDigest;
51 MessageDigest dig = helper.createDigest(algorithm);
84 private MessageDigest dig;
86 DigestOutputStream(MessageDigest dig)
  /external/apache-harmony/security/src/test/api/java.injected/java/security/
ProviderTest.java 70 !"SomeClassName".equals(p.getProperty("MessageDigest.SHA-1").trim())) {
95 Provider.Service s1 = p.getService("MessageDigest", "AbC");
100 s = new Provider.Service(p, "MessageDigest", "SHA-1",
103 if (s1 == p.getService("MessageDigest", "SHA-1")) {
107 if (p.getService("MessageDigest", "SHA1") == null) {
134 if ("MessageDigest".equals(s.getType()) &&
139 if ("MessageDigest".equals(s.getType()) &&
178 if ("MessageDigest".equals(s.getType()) &&
183 if ("MessageDigest".equals(s.getType()) &&
199 put("MessageDigest.SHA-1", "SomeClassName")
    [all...]
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MyMessageDigest1.java 24 import java.security.MessageDigest;
27 * Tests implementation of MessageDigest
29 public class MyMessageDigest1 extends MessageDigest {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
SHA224.java 67 provider.addAlgorithm("MessageDigest.SHA-224", PREFIX + "$Digest");
68 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA224", "SHA-224");
69 provider.addAlgorithm("Alg.Alias.MessageDigest." + NISTObjectIdentifiers.id_sha224, "SHA-224");
SHA384.java 84 provider.addAlgorithm("MessageDigest.SHA-384", PREFIX + "$Digest");
85 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA384", "SHA-384");
86 provider.addAlgorithm("Alg.Alias.MessageDigest." + NISTObjectIdentifiers.id_sha384, "SHA-384");
MD5.java 70 provider.addAlgorithm("MessageDigest.MD5", PREFIX + "$Digest");
71 provider.addAlgorithm("Alg.Alias.MessageDigest." + PKCSObjectIdentifiers.md5, "MD5");
  /external/caliper/examples/src/main/java/examples/
MessageDigestCreationBenchmark.java 22 import java.security.MessageDigest;
25 * Times creating new MessageDigest instances.
36 MessageDigest.getInstance(algorithm);
  /libcore/benchmarks/src/benchmarks/regression/
MessageDigestBenchmark.java 20 import java.security.MessageDigest;
42 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(),
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyMessageDigest1.java 25 import java.security.MessageDigest;
28 * Tests implementation of MessageDigest
31 public class MyMessageDigest1 extends MessageDigest {
  /external/glide/library/src/main/java/com/bumptech/glide/signature/
MediaStoreSignature.java 7 import java.security.MessageDigest;
69 public void updateDiskCacheKey(MessageDigest messageDigest) throws UnsupportedEncodingException {
74 messageDigest.update(data);
75 messageDigest.update(mimeType.getBytes(STRING_CHARSET_NAME));
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
EngineKey.java 12 import java.security.MessageDigest;
136 public void updateDiskCacheKey(MessageDigest messageDigest) throws UnsupportedEncodingException {
141 signature.updateDiskCacheKey(messageDigest);
142 messageDigest.update(id.getBytes(STRING_CHARSET_NAME));
143 messageDigest.update(dimensions);
144 messageDigest.update((cacheDecoder != null ? cacheDecoder .getId() : "").getBytes(STRING_CHARSET_NAME));
145 messageDigest.update((decoder != null ? decoder .getId() : "").getBytes(STRING_CHARSET_NAME));
146 messageDigest.update((transformation != null ? transformation.getId() : "").getBytes(STRING_CHARSET_NAME));
147 messageDigest.update((encoder != null ? encoder .getId() : "").getBytes(STRING_CHARSET_NAME))
    [all...]
  /external/guava/guava-tests/benchmark/com/google/common/hash/
MessageDigestAlgorithmBenchmark.java 25 import java.security.MessageDigest;
30 * Benchmarks for comparing {@link MessageDigest}s and {@link HashFunction}s that wrap
31 * {@link MessageDigest}s.
37 * <li>hashMethod: how to hash the data (using the Hashing API or the MessageDigest API).
50 MessageDigest md = algorithm.getMessageDigest();
75 public MessageDigest getMessageDigest() {
77 return MessageDigest.getInstance(algorithmName);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestOutputStreamTest.java 29 import java.security.MessageDigest;
74 * java.security.MessageDigest)
79 MessageDigest md = new MyMessageDigest1();
105 MessageDigest digest = new MyMessageDigest1();
118 * java.security.DigestOutputStream#setMessageDigest(MessageDigest)
122 MessageDigest digest = new MyMessageDigest1();
147 MessageDigest md = MessageDigest.getInstance(algorithmName[k]);
163 fail(getName() + ": no MessageDigest algorithms available - test not performed");
179 MessageDigest md = MessageDigest.getInstance(algorithmName[k])
    [all...]
ProviderTest.java 75 p.remove("MessageDigest.ASH-1");
76 p.remove("MessageDigest.abc");
77 p.remove("Alg.Alias.MessageDigest.ASH1");
114 assertNull(p.getProperty("MessageDigest.SHA-1"));
144 hm.put("MessageDigest.SHA-1", "aaa.bbb.ccc.ddd");
152 !"aaa.bbb.ccc.ddd".equals(p.getProperty("MessageDigest.SHA-1").trim()) ) {
161 p.put("MessageDigest.SHA-256", "aaa.bbb.ccc.ddd");
176 if (key.equals("MessageDigest.SHA-1") && val.equals("SomeClassName")) {
179 if (key.equals("Alg.Alias.MessageDigest.SHA1") && val.equals("SHA-1")) {
182 if (key.equals("MessageDigest.abc") && val.equals("SomeClassName"))
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DefaultSignedAttributeTableGenerator.java 54 * normally include contentType, signingTime, and messageDigest. If the constructor
56 * messageDigest will override the generated ones.
89 if (!std.containsKey(CMSAttributes.messageDigest))
91 byte[] messageDigest = (byte[])parameters.get(
93 Attribute attr = new Attribute(CMSAttributes.messageDigest,
94 new DERSet(new DEROctetString(messageDigest)));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/
DefaultJcaJceHelper.java 7 import java.security.MessageDigest;
82 public MessageDigest createDigest(String algorithm)
85 return MessageDigest.getInstance(algorithm);
NamedJcaJceHelper.java 7 import java.security.MessageDigest;
89 public MessageDigest createDigest(String algorithm)
92 return MessageDigest.getInstance(algorithm, providerName);
ProviderJcaJceHelper.java 7 import java.security.MessageDigest;
89 public MessageDigest createDigest(String algorithm)
92 return MessageDigest.getInstance(algorithm, provider);
  /frameworks/base/tests/CoreTests/android/core/
Sha1Test.java 20 import java.security.MessageDigest;
45 MessageDigest digest = MessageDigest.getInstance("SHA-1");
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/utils/
FingerprintUtils.java 20 import java.security.MessageDigest;
38 MessageDigest digest = MessageDigest.getInstance(hashAlgorithm);
  /external/apache-harmony/security/src/test/impl/java.injected/java/security/
Provider_ImplTest.java 59 !p.implementsAlg("MessageDigest", "SHA-1", null, null)) {
89 put("MessageDigest.SHA-1", "SomeClassName");
90 put("MessageDigest.abc", "SomeClassName");
91 put("Alg.Alias.MessageDigest.SHA1", "SHA-1");
  /libcore/luni/src/test/java/libcore/java/security/
MessageDigestTest.java 20 import java.security.MessageDigest;
47 MessageDigest sha = MessageDigest.getInstance("SHA");
60 if (!type.equals("MessageDigest")) {
65 // MessageDigest.getInstance(String)
66 MessageDigest md1 = MessageDigest.getInstance(algorithm);
70 // MessageDigest.getInstance(String, Provider)
71 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider)
    [all...]
  /libcore/ojluni/src/main/java/sun/security/ssl/
HandshakeHash.java 114 private MessageDigest md5, sha;
121 private MessageDigest finMD;
196 MessageDigest getMD5Clone() {
207 MessageDigest getSHAClone() {
215 private static MessageDigest cloneDigest(MessageDigest digest) {
217 return (MessageDigest)digest.clone();
318 * digests. It uses the standard MessageDigest API and therefore can be used
321 * Note that we extend the MessageDigest class directly rather than
322 * MessageDigestSpi. This works because MessageDigest was originally designe
    [all...]

Completed in 637 milliseconds

12 3 4 5 6 7 8 91011>>