diff --git a/src/modified/java/com/owncloud/android/utils/PushUtils.java b/src/modified/java/com/owncloud/android/utils/PushUtils.java index 51c3e7f402..0fd4c7e7e4 100644 --- a/src/modified/java/com/owncloud/android/utils/PushUtils.java +++ b/src/modified/java/com/owncloud/android/utils/PushUtils.java @@ -76,7 +76,7 @@ public class PushUtils { private static ArbitraryDataProvider arbitraryDataProvider; - private static String generateSHA512Hash(String pushToken) { + public static String generateSHA512Hash(String pushToken) { MessageDigest messageDigest = null; try { messageDigest = MessageDigest.getInstance("SHA-512"); @@ -88,7 +88,7 @@ public class PushUtils { return ""; } - private static String bytesToHex(byte[] bytes) { + public static String bytesToHex(byte[] bytes) { StringBuilder result = new StringBuilder(); for (byte individualByte : bytes) { result.append(Integer.toString((individualByte & 0xff) + 0x100, 16)