[Fix] Updated AesCryptoHelper
Inspired by https://github.com/tozny/java-aes-crypto/blob/master/aes-crypto/src/main/java/com/tozny/crypto/android/AesCbcWithIntegrity.java
This commit is contained in:
parent
c5402ba4fb
commit
4b0b031b2b
|
@ -28,7 +28,7 @@ public class AesCryptoHelper {
|
|||
private static final int AES_KEY_LENGTH_BITS = 128;
|
||||
private static final int IV_LENGTH_BYTES = 16;
|
||||
private static final int PBE_ITERATION_COUNT = 10000;
|
||||
private static final String PBE_ALGORITHM = "PBKDF2WithHmacSHA1";
|
||||
private static final String PBE_ALGORITHM = "PBKDF2WithHmacSHA256";
|
||||
|
||||
private static final String HMAC_ALGORITHM = "HmacSHA256";
|
||||
private static final int HMAC_KEY_LENGTH_BITS = 256;
|
||||
|
|
Loading…
Reference in New Issue