mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-23 15:38:50 -05:00
Set default algorithms to SHA-512 and AES-256
This commit is contained in:
parent
f4d3d81333
commit
ac180275fd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user