aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/utils/CryptUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/utils/CryptUtils.java')
-rw-r--r--main/src/cgeo/geocaching/utils/CryptUtils.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/utils/CryptUtils.java b/main/src/cgeo/geocaching/utils/CryptUtils.java
index 4cf0de2..f04327e 100644
--- a/main/src/cgeo/geocaching/utils/CryptUtils.java
+++ b/main/src/cgeo/geocaching/utils/CryptUtils.java
@@ -1,6 +1,5 @@
package cgeo.geocaching.utils;
-import cgeo.geocaching.Settings;
import android.text.Spannable;
import android.text.SpannableStringBuilder;
@@ -74,7 +73,7 @@ public final class CryptUtils {
digest.update(text.getBytes(), 0, text.length());
hashed = new BigInteger(1, digest.digest()).toString(16);
} catch (Exception e) {
- Log.e(Settings.tag, "cgBase.md5: " + e.toString());
+ Log.e("cgBase.md5: " + e.toString());
}
return hashed;
@@ -88,7 +87,7 @@ public final class CryptUtils {
digest.update(text.getBytes(), 0, text.length());
hashed = new BigInteger(1, digest.digest()).toString(16);
} catch (Exception e) {
- Log.e(Settings.tag, "cgBase.sha1: " + e.toString());
+ Log.e("cgBase.sha1: " + e.toString());
}
return hashed;
@@ -103,7 +102,7 @@ public final class CryptUtils {
mac.init(secretKeySpec);
macBytes = mac.doFinal(text.getBytes());
} catch (Exception e) {
- Log.e(Settings.tag, "cgBase.hashHmac: " + e.toString());
+ Log.e("cgBase.hashHmac: " + e.toString());
}
return macBytes;