mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 22:12:55 +00:00
Add an activity to decrypt the database
This commit is contained in:
parent
53e86db187
commit
722ea50b68
12 changed files with 192 additions and 69 deletions
|
@ -26,7 +26,7 @@ public class CryptoUtils {
|
|||
public static final byte CRYPTO_NONCE_SIZE = 12;
|
||||
public static final byte CRYPTO_SALT_SIZE = 32;
|
||||
// TODO: decide on a 'secure-enough' iteration count
|
||||
public static final short CRYPTO_ITERATION_COUNT = 2000;
|
||||
public static final short CRYPTO_ITERATION_COUNT = 10000;
|
||||
public static final String CRYPTO_CIPHER_RAW = "AES/ECB/NoPadding";
|
||||
public static final String CRYPTO_CIPHER_AEAD = "AES/GCM/NoPadding";
|
||||
// TODO: use a separate library for an HMAC-SHA256 implementation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue