mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-12 17:16:41 +00:00
Add (non-experimental) GCM
Also, set it as the preferred AEAD algorithm.
This commit is contained in:
parent
5078b8a66d
commit
b6dc112eb3
@ -58,7 +58,7 @@ export default {
|
||||
* @memberof module:config
|
||||
* @property {Integer} preferredAEADAlgorithm Default AEAD mode {@link module:enums.aead}
|
||||
*/
|
||||
preferredAEADAlgorithm: enums.aead.eax,
|
||||
preferredAEADAlgorithm: enums.aead.gcm,
|
||||
/**
|
||||
* Chunk Size Byte for Authenticated Encryption with Additional Data (AEAD) mode
|
||||
* Only has an effect when aeadProtect is set to true.
|
||||
|
@ -197,6 +197,7 @@ export default {
|
||||
aead: {
|
||||
eax: 1,
|
||||
ocb: 2,
|
||||
gcm: 3,
|
||||
experimentalGCM: 100 // Private algorithm
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user