aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/github/daneren2005
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/github/daneren2005')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/KeyStoreUtil.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/KeyStoreUtil.java b/app/src/main/java/github/daneren2005/dsub/util/KeyStoreUtil.java
index 10ec9497..057ac833 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/KeyStoreUtil.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/KeyStoreUtil.java
@@ -108,7 +108,6 @@ public class KeyStoreUtil {
}
public static String decrypt(@NonNull String encryptedString) {
- Log.d(TAG, "Decrypting password...");
try {
// Retrieve secret key
final Key key = getKey();
@@ -135,9 +134,7 @@ public class KeyStoreUtil {
String decryptedString = new String(cipher.doFinal(encryptedBytes));
// Return the decrypted password string
- Log.d(TAG, "Password successfully decrypted");
return decryptedString;
-
} catch (Exception e) {
Log.w(TAG, "Password decryption failed");
Log.w(TAG, Log.getStackTraceString(e));