/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/webrtc/webrtc/base/ |
D | messagedigest.cc | 38 MessageDigest* MessageDigestFactory::Create(const std::string& alg) { in Create() 40 MessageDigest* digest = new OpenSSLDigest(alg); in Create() 47 MessageDigest* digest = NULL; in Create() 70 size_t ComputeDigest(MessageDigest* digest, const void* input, size_t in_len, in ComputeDigest() 78 scoped_ptr<MessageDigest> digest(MessageDigestFactory::Create(alg)); in ComputeDigest() 84 std::string ComputeDigest(MessageDigest* digest, const std::string& input) { in ComputeDigest() 93 scoped_ptr<MessageDigest> digest(MessageDigestFactory::Create(alg)); in ComputeDigest() 108 size_t ComputeHmac(MessageDigest* digest, in ComputeHmac() 149 scoped_ptr<MessageDigest> digest(MessageDigestFactory::Create(alg)); in ComputeHmac() 157 std::string ComputeHmac(MessageDigest* digest, const std::string& key, in ComputeHmac() [all …]
|
D | messagedigest.h | 27 class MessageDigest { 30 virtual ~MessageDigest() {} in ~MessageDigest() 43 static MessageDigest* Create(const std::string& alg); 55 size_t ComputeDigest(MessageDigest* digest, const void* input, size_t in_len, 64 std::string ComputeDigest(MessageDigest* digest, const std::string& input); 85 size_t ComputeHmac(MessageDigest* digest, const void* key, size_t key_len, 96 std::string ComputeHmac(MessageDigest* digest, const std::string& key,
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/ |
D | MessageDigestTest.java | 21 import java.security.MessageDigest; 63 MessageDigest sha = MessageDigest.getInstance("SHA"); in testShaReset() 83 MessageDigest md1 = MessageDigest.getInstance(algorithm); in test_getInstance() 88 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider); in test_getInstance() 94 MessageDigest md3 = MessageDigest.getInstance(algorithm, provider.getName()); in test_getInstance() 238 private void test_MessageDigest(MessageDigest md) throws Exception { in test_MessageDigest()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/ |
D | MessageDigestTest.java | 22 import java.security.MessageDigest; 67 MessageDigest sha = MessageDigest.getInstance("SHA"); in testShaReset() 87 MessageDigest md1 = MessageDigest.getInstance(algorithm); in test_getInstance() 92 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider); in test_getInstance() 98 MessageDigest md3 = MessageDigest.getInstance(algorithm, provider.getName()); in test_getInstance() 242 private void test_MessageDigest(MessageDigest md) throws Exception { in test_MessageDigest()
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
D | MessageDigestCreationBenchmark.java | 23 import java.security.MessageDigest; 35 private MessageDigest md; 38 md = MessageDigest.getInstance(algorithm); in setUp() 44 retValue ^= MessageDigest.getInstance(algorithm).getDigestLength(); in getInstance() 52 retValue ^= ((MessageDigest) md.clone()).getDigestLength(); in clone()
|
D | MessageDigestAlgorithmBenchmark.java | 25 import java.security.MessageDigest; 50 MessageDigest md = algorithm.getMessageDigest(); in MESSAGE_DIGEST_API() 75 public MessageDigest getMessageDigest() { in getMessageDigest() 77 return MessageDigest.getInstance(algorithmName); in getMessageDigest()
|
/external/guava/guava/src/com/google/common/hash/ |
D | MessageDigestHashFunction.java | 22 import java.security.MessageDigest; 34 private final MessageDigest prototype; 73 private static MessageDigest getMessageDigest(String algorithmName) { in getMessageDigest() 75 return MessageDigest.getInstance(algorithmName); in getMessageDigest() 84 return new MessageDigestHasher((MessageDigest) prototype.clone(), bytes); in newHasher() 119 private final MessageDigest digest; 123 private MessageDigestHasher(MessageDigest digest, int bytes) { in MessageDigestHasher()
|
/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/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/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()
|
/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/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/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/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/ |
D | Util.java | 29 import java.security.MessageDigest; 183 MessageDigest messageDigest = MessageDigest.getInstance("MD5"); in md5Hex() 194 MessageDigest messageDigest = MessageDigest.getInstance("SHA-1"); in shaBase64() 205 MessageDigest messageDigest = MessageDigest.getInstance("SHA-1"); in sha1()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Util.java | 28 import java.security.MessageDigest; 177 MessageDigest messageDigest = MessageDigest.getInstance("MD5"); in md5Hex() 188 MessageDigest messageDigest = MessageDigest.getInstance("SHA-1"); in shaBase64() 199 MessageDigest messageDigest = MessageDigest.getInstance("SHA-1"); in sha1()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
D | SafeKeyGenerator.java | 8 import java.security.MessageDigest; 24 MessageDigest messageDigest = MessageDigest.getInstance("SHA-256"); in getSafeKey()
|
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/ |
D | D2DConnectionContextV0.java | 19 import java.security.MessageDigest; 54 MessageDigest md = MessageDigest.getInstance("SHA-256"); in getSessionUnique()
|
D | D2DConnectionContextV1.java | 19 import java.security.MessageDigest; 74 MessageDigest md = MessageDigest.getInstance("SHA-256"); in getSessionUnique()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
D | OpenSSLDigest.java | 22 import java.security.MessageDigest; 29 private final MessageDigest delegate; 35 delegate = MessageDigest.getInstance(algorithm, "AndroidOpenSSL"); in OpenSSLDigest()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/digests/ |
D | OpenSSLDigest.java | 23 import java.security.MessageDigest; 31 private final MessageDigest delegate; 37 delegate = MessageDigest.getInstance(algorithm, "AndroidOpenSSL"); in OpenSSLDigest()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | StringId.java | 4 import java.security.MessageDigest; 19 private static final MessageDigest digest; 24 digest = MessageDigest.getInstance("SHA-1");
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
D | DefaultJcaJceHelper.java | 7 import java.security.MessageDigest; 83 public MessageDigest createDigest(String algorithm) in createDigest() 86 return MessageDigest.getInstance(algorithm); in createDigest()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/util/ |
D | DefaultJcaJceHelper.java | 8 import java.security.MessageDigest; 87 public MessageDigest createDigest(String algorithm) in createDigest() 90 return MessageDigest.getInstance(algorithm); in createDigest()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/ |
D | CertificateEntry.java | 21 import java.security.MessageDigest; 97 MessageDigest md = MessageDigest.getInstance("SHA-256"); in createForPrecertificate()
|