mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-22 20:32:05 +01:00
Set AES-128 as default symmetric algorithm.
The crypto-refresh marks AES-128 as MUST implement.
This commit is contained in:
parent
e1038a8bb3
commit
96da3db2b8
1 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ public final class Policy {
|
|||
* @return 2022 symmetric key encryption algorithm policy
|
||||
*/
|
||||
public static SymmetricKeyAlgorithmPolicy symmetricKeyEncryptionPolicy2022() {
|
||||
return new SymmetricKeyAlgorithmPolicy(SymmetricKeyAlgorithm.AES_256, Arrays.asList(
|
||||
return new SymmetricKeyAlgorithmPolicy(SymmetricKeyAlgorithm.AES_128, Arrays.asList(
|
||||
// Reject: Unencrypted, IDEA, TripleDES, CAST5, Blowfish
|
||||
SymmetricKeyAlgorithm.AES_256,
|
||||
SymmetricKeyAlgorithm.AES_192,
|
||||
|
@ -295,7 +295,7 @@ public final class Policy {
|
|||
* @return 2022 symmetric key decryption algorithm policy
|
||||
*/
|
||||
public static SymmetricKeyAlgorithmPolicy symmetricKeyDecryptionPolicy2022() {
|
||||
return new SymmetricKeyAlgorithmPolicy(SymmetricKeyAlgorithm.AES_256, Arrays.asList(
|
||||
return new SymmetricKeyAlgorithmPolicy(SymmetricKeyAlgorithm.AES_128, Arrays.asList(
|
||||
// Reject: Unencrypted, IDEA, TripleDES, Blowfish
|
||||
SymmetricKeyAlgorithm.CAST5,
|
||||
SymmetricKeyAlgorithm.AES_256,
|
||||
|
|
Loading…
Reference in a new issue