Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 715a177

Browse files
committed
Improve key algorithm to use padding
1 parent c5889f8 commit 715a177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/de/codebucket/mkkm/util/EncryptUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
public class EncryptUtils {
1515

16-
private static final String ALGORITHM = "AES";
16+
private static final String ALGORITHM = "AES/ECB/PKCS5Padding";
1717
private static final String KEY = "38782f413f442847";
1818

1919
// Base64 validation regular expression

0 commit comments

Comments
 (0)