diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2013-06-07 03:18:31 -0700 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2013-06-07 03:18:31 -0700 |
| commit | 94448086f00967af1d162f9a27ca5700d48cb23f (patch) | |
| tree | f10adf0bf6874b45ca13b9472d87c3d47d323d97 /main/src/cgeo/geocaching/utils/CryptUtils.java | |
| parent | ad29c5533c90612ac31aecf7865975516a4245d2 (diff) | |
| parent | b610ce7289c4cfe9d8a040d9cc4aadee2838700d (diff) | |
| download | cgeo-94448086f00967af1d162f9a27ca5700d48cb23f.zip cgeo-94448086f00967af1d162f9a27ca5700d48cb23f.tar.gz cgeo-94448086f00967af1d162f9a27ca5700d48cb23f.tar.bz2 | |
Merge pull request #2842 from campbeb/fixErrorMessages
Correct log messages to account for refactoring
Diffstat (limited to 'main/src/cgeo/geocaching/utils/CryptUtils.java')
| -rw-r--r-- | main/src/cgeo/geocaching/utils/CryptUtils.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/utils/CryptUtils.java b/main/src/cgeo/geocaching/utils/CryptUtils.java index df2baa0..5ddae96 100644 --- a/main/src/cgeo/geocaching/utils/CryptUtils.java +++ b/main/src/cgeo/geocaching/utils/CryptUtils.java @@ -71,7 +71,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("cgBase.md5", e); + Log.e("CryptUtils.md5", e); } return hashed; @@ -85,7 +85,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("cgBase.sha1", e); + Log.e("CryptUtils.sha1", e); } return hashed; @@ -100,7 +100,7 @@ public final class CryptUtils { mac.init(secretKeySpec); macBytes = mac.doFinal(text.getBytes()); } catch (Exception e) { - Log.e("cgBase.hashHmac", e); + Log.e("CryptUtils.hashHmac", e); } return macBytes; |
