summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/settings/cmstats/Utilities.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/cmstats/Utilities.java b/src/com/android/settings/cmstats/Utilities.java
index 1e98888..f69e8ca 100644
--- a/src/com/android/settings/cmstats/Utilities.java
+++ b/src/com/android/settings/cmstats/Utilities.java
@@ -72,7 +72,7 @@ public class Utilities {
public static String digest(String input) {
try {
- MessageDigest md = MessageDigest.getInstance("MD5");
+ MessageDigest md = MessageDigest.getInstance("SHA-256");
return new BigInteger(1, md.digest(input.getBytes())).toString(16).toUpperCase();
} catch (Exception e) {
return null;