/external/brotli/java/org/brotli/wrapper/common/ |
D | SetRfcDictionaryTest.java | 18 import java.security.MessageDigest; 33 MessageDigest md5 = MessageDigest.getInstance("MD5"); in testRfcDictionaryChecksums() 37 MessageDigest sha1 = MessageDigest.getInstance("SHA-1"); in testRfcDictionaryChecksums() 41 MessageDigest sha256 = MessageDigest.getInstance("SHA-256"); in testRfcDictionaryChecksums()
|
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/ |
D | MessageDigestTest.java | 21 import java.security.MessageDigest; 54 MessageDigest sha = MessageDigest.getInstance("SHA"); in testShaReset() 68 MessageDigest md1 = MessageDigest.getInstance(algorithm); in test_getInstance() 73 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider); in test_getInstance() 79 MessageDigest md3 = MessageDigest.getInstance(algorithm, provider.getName()); in test_getInstance() 245 private void test_MessageDigest(MessageDigest md) throws Exception { in test_MessageDigest()
|
/external/webrtc/rtc_base/ |
D | message_digest.h | 29 class MessageDigest { 32 virtual ~MessageDigest() {} in ~MessageDigest() 45 static MessageDigest* Create(const std::string& alg); 57 size_t ComputeDigest(MessageDigest* digest, 72 std::string ComputeDigest(MessageDigest* digest, const std::string& input); 94 size_t ComputeHmac(MessageDigest* digest, 113 std::string ComputeHmac(MessageDigest* digest,
|
D | message_digest.cc | 33 MessageDigest* MessageDigestFactory::Create(const std::string& alg) { in Create() 34 MessageDigest* digest = new OpenSSLDigest(alg); in Create() 53 size_t ComputeDigest(MessageDigest* digest, in ComputeDigest() 67 std::unique_ptr<MessageDigest> digest(MessageDigestFactory::Create(alg)); in ComputeDigest() 72 std::string ComputeDigest(MessageDigest* digest, const std::string& input) { in ComputeDigest() 82 std::unique_ptr<MessageDigest> digest(MessageDigestFactory::Create(alg)); in ComputeDigest() 97 size_t ComputeHmac(MessageDigest* digest, in ComputeHmac() 145 std::unique_ptr<MessageDigest> digest(MessageDigestFactory::Create(alg)); in ComputeHmac() 153 std::string ComputeHmac(MessageDigest* digest, in ComputeHmac() 166 std::unique_ptr<MessageDigest> digest(MessageDigestFactory::Create(alg)); in ComputeHmac()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/ |
D | MessageDigestTest.java | 23 import java.security.MessageDigest; 58 MessageDigest sha = MessageDigest.getInstance("SHA"); in testShaReset() 71 MessageDigest md1 = MessageDigest.getInstance(algorithm); in test_getInstance() 76 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider); in test_getInstance() 82 MessageDigest md3 = MessageDigest.getInstance(algorithm, provider.getName()); in test_getInstance() 248 private void test_MessageDigest(MessageDigest md) throws Exception { in test_MessageDigest()
|
/external/guava/guava/src/com/google/common/hash/ |
D | MessageDigestHashFunction.java | 24 import java.security.MessageDigest; 38 private final MessageDigest prototype; 61 private static boolean supportsClone(MessageDigest digest) { in supportsClone() 80 private static MessageDigest getMessageDigest(String algorithmName) { in getMessageDigest() 82 return MessageDigest.getInstance(algorithmName); in getMessageDigest() 92 return new MessageDigestHasher((MessageDigest) prototype.clone(), bytes); in newHasher() 124 private final MessageDigest digest; 128 private MessageDigestHasher(MessageDigest digest, int bytes) { in MessageDigestHasher()
|
/external/guava/android/guava/src/com/google/common/hash/ |
D | MessageDigestHashFunction.java | 24 import java.security.MessageDigest; 38 private final MessageDigest prototype; 61 private static boolean supportsClone(MessageDigest digest) { in supportsClone() 80 private static MessageDigest getMessageDigest(String algorithmName) { in getMessageDigest() 82 return MessageDigest.getInstance(algorithmName); in getMessageDigest() 92 return new MessageDigestHasher((MessageDigest) prototype.clone(), bytes); in newHasher() 124 private final MessageDigest digest; 128 private MessageDigestHasher(MessageDigest digest, int bytes) { in MessageDigestHasher()
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
D | MessageDigestCreationBenchmark.java | 22 import java.security.MessageDigest; 34 private MessageDigest md; 38 md = MessageDigest.getInstance(algorithm); in setUp() 45 retValue ^= MessageDigest.getInstance(algorithm).getDigestLength(); in getInstance() 54 retValue ^= ((MessageDigest) md.clone()).getDigestLength(); in clone()
|
D | MessageDigestAlgorithmBenchmark.java | 22 import java.security.MessageDigest; 51 MessageDigest md = algorithm.getMessageDigest(); in MESSAGE_DIGEST_API() 88 public MessageDigest getMessageDigest() { in getMessageDigest() 90 return MessageDigest.getInstance(algorithmName); in getMessageDigest()
|
/external/guava/android/guava-tests/benchmark/com/google/common/hash/ |
D | MessageDigestCreationBenchmark.java | 22 import java.security.MessageDigest; 34 private MessageDigest md; 38 md = MessageDigest.getInstance(algorithm); in setUp() 45 retValue ^= MessageDigest.getInstance(algorithm).getDigestLength(); in getInstance() 54 retValue ^= ((MessageDigest) md.clone()).getDigestLength(); in clone()
|
D | MessageDigestAlgorithmBenchmark.java | 22 import java.security.MessageDigest; 51 MessageDigest md = algorithm.getMessageDigest(); in MESSAGE_DIGEST_API() 88 public MessageDigest getMessageDigest() { in getMessageDigest() 90 return MessageDigest.getInstance(algorithmName); in getMessageDigest()
|
/external/vogar/src/vogar/ |
D | Md5Cache.java | 23 import java.security.MessageDigest; 58 MessageDigest digester = MessageDigest.getInstance("MD5"); in md5() 82 MessageDigest digester = MessageDigest.getInstance("MD5"); in md5()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/io/ |
D | DigestUpdatingOutputStream.java | 5 import java.security.MessageDigest; 10 private MessageDigest digest; 12 DigestUpdatingOutputStream(MessageDigest digest) in DigestUpdatingOutputStream()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
D | JcaDigestCalculatorProviderBuilder.java | 6 import java.security.MessageDigest; 51 MessageDigest dig = helper.createDigest(algorithm); in build() 84 private MessageDigest dig; 86 DigestOutputStream(MessageDigest dig)
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/io/ |
D | DigestUpdatingOutputStream.java | 6 import java.security.MessageDigest; 11 private MessageDigest digest; 13 DigestUpdatingOutputStream(MessageDigest digest) in DigestUpdatingOutputStream()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/io/ |
D | DigestUpdatingOutputStream.java | 6 import java.security.MessageDigest; 11 private MessageDigest digest; 13 DigestUpdatingOutputStream(MessageDigest digest) in DigestUpdatingOutputStream()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
D | DefaultJcaJceHelper.java | 10 import java.security.MessageDigest; 92 public MessageDigest createDigest(String algorithm) in createDigest() 95 return MessageDigest.getInstance(algorithm); in createDigest() 98 public MessageDigest createMessageDigest(String algorithm) in createMessageDigest() 101 return MessageDigest.getInstance(algorithm); in createMessageDigest()
|
D | ProviderJcaJceHelper.java | 10 import java.security.MessageDigest; 99 public MessageDigest createDigest(String algorithm) in createDigest() 102 return MessageDigest.getInstance(algorithm, provider); in createDigest() 105 public MessageDigest createMessageDigest(String algorithm) in createMessageDigest() 108 return MessageDigest.getInstance(algorithm, provider); in createMessageDigest()
|
D | NamedJcaJceHelper.java | 10 import java.security.MessageDigest; 99 public MessageDigest createDigest(String algorithm) in createDigest() 102 return MessageDigest.getInstance(algorithm, providerName); in createDigest() 105 public MessageDigest createMessageDigest(String algorithm) in createMessageDigest() 108 return MessageDigest.getInstance(algorithm, providerName); in createMessageDigest()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/util/ |
D | DefaultJcaJceHelper.java | 11 import java.security.MessageDigest; 94 public MessageDigest createDigest(String algorithm) in createDigest() 97 return MessageDigest.getInstance(algorithm); in createDigest() 100 public MessageDigest createMessageDigest(String algorithm) in createMessageDigest() 103 return MessageDigest.getInstance(algorithm); in createMessageDigest()
|
D | ProviderJcaJceHelper.java | 11 import java.security.MessageDigest; 101 public MessageDigest createDigest(String algorithm) in createDigest() 104 return MessageDigest.getInstance(algorithm, provider); in createDigest() 107 public MessageDigest createMessageDigest(String algorithm) in createMessageDigest() 110 return MessageDigest.getInstance(algorithm, provider); in createMessageDigest()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/util/ |
D | DefaultJcaJceHelper.java | 11 import java.security.MessageDigest; 94 public MessageDigest createDigest(String algorithm) in createDigest() 97 return MessageDigest.getInstance(algorithm); in createDigest() 100 public MessageDigest createMessageDigest(String algorithm) in createMessageDigest() 103 return MessageDigest.getInstance(algorithm); in createMessageDigest()
|
D | ProviderJcaJceHelper.java | 11 import java.security.MessageDigest; 101 public MessageDigest createDigest(String algorithm) in createDigest() 104 return MessageDigest.getInstance(algorithm, provider); in createDigest() 107 public MessageDigest createMessageDigest(String algorithm) in createMessageDigest() 110 return MessageDigest.getInstance(algorithm, provider); in createMessageDigest()
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/ |
D | Util.java | 30 import java.security.MessageDigest; 179 MessageDigest messageDigest = MessageDigest.getInstance("MD5"); in md5Hex() 192 MessageDigest messageDigest = MessageDigest.getInstance("SHA-1"); in shaBase64() 205 MessageDigest messageDigest = MessageDigest.getInstance("SHA-1"); in sha1()
|
/external/rappor/client/java/com/google/android/rappor/ |
D | Encoder.java | 11 import java.security.MessageDigest; 174 private final MessageDigest sha256; 185 private final MessageDigest md5; 269 MessageDigest md5, in Encoder() 270 MessageDigest sha256, in Encoder() 284 this.md5 = MessageDigest.getInstance("MD5"); in Encoder() 297 this.sha256 = MessageDigest.getInstance("SHA-256"); in Encoder()
|