Home
last modified time | relevance | path

Searched refs:sha256Digest (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/
DAdIdEncryption.java52 MessageDigest sha256Digest = MessageDigest.getInstance(SHA256_DIGEST_ALGORITHM_NAME); in encryptAdIdAndEnrollmentSha256() local
53 byte[] encodedAdId = sha256Digest.digest(original.getBytes()); in encryptAdIdAndEnrollmentSha256()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DCommonClassifierHelper.java74 MessageDigest sha256Digest = MessageDigest.getInstance(SHA256_DIGEST_ALGORITHM_NAME); in computeClassifierAssetChecksum() local
84 sha256Digest.update(byteArray, 0, byteCount); in computeClassifierAssetChecksum()
88 byte[] bytes = sha256Digest.digest(); in computeClassifierAssetChecksum()