Set default algorithms to SHA-512 and AES-256

This commit is contained in:
Dominik Schürmann 2013-09-20 21:43:48 +02:00
parent f4d3d81333
commit ac180275fd
2 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ public class Preferences {
public int getDefaultHashAlgorithm() {
return mSharedPreferences.getInt(Constants.pref.DEFAULT_HASH_ALGORITHM,
HashAlgorithmTags.SHA256);
HashAlgorithmTags.SHA512);
}
public void setDefaultHashAlgorithm(int value) {

View File

@ -36,8 +36,8 @@ public class AppSettings {
super();
this.packageName = packageName;
// defaults:
this.encryptionAlgorithm = PGPEncryptedData.AES_128;
this.hashAlgorithm = HashAlgorithmTags.SHA256;
this.encryptionAlgorithm = PGPEncryptedData.AES_256;
this.hashAlgorithm = HashAlgorithmTags.SHA512;
this.compression = Id.choice.compression.zlib;
}