Set default algorithms to SHA-512 and AES-256

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

No files matched your search

@@ -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) {
@@ -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;
}