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

Commit

Permalink
Improve key algorithm to use padding
Browse files Browse the repository at this point in the history
  • Loading branch information
divadsn committed Sep 29, 2018
1 parent c5889f8 commit 715a177
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

public class EncryptUtils {

private static final String ALGORITHM = "AES";
private static final String ALGORITHM = "AES/ECB/PKCS5Padding";
private static final String KEY = "38782f413f442847";

// Base64 validation regular expression
Expand Down

0 comments on commit 715a177

Please sign in to comment.