We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0393ed8 + 5dc88db commit 66e1758Copy full SHA for 66e1758
1 file changed
nodejs/ece.js
@@ -145,7 +145,7 @@ function deriveKeyAndNonce(params, mode) {
145
keyInfo = 'Content-Encoding: aesgcm128';
146
nonceInfo = 'Content-Encoding: nonce';
147
} else if (padSize === 2) {
148
- keyInfo = info('aesgcm128', s.context);
+ keyInfo = info('aesgcm', s.context);
149
nonceInfo = info('nonce', s.context);
150
} else {
151
throw new Error('Unable to set context for padSize ' + params.padSize);
0 commit comments