We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0393ed8 commit 5dc88dbCopy full SHA for 5dc88db
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