Skip to content

Commit 4b18253

Browse files
committed
Fix string
1 parent 674188c commit 4b18253

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nodejs/ece.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ function deriveKeyAndNonce(header, mode) {
210210
secret = s.secret;
211211
} else if (header.type === 'aes128gcm') {
212212
// latest
213-
keyInfo = Buffer.from('Content-Encoding: aesgcm128\0');
213+
keyInfo = Buffer.from('Content-Encoding: aes128gcm\0');
214214
nonceInfo = Buffer.from('Content-Encoding: nonce\0');
215215
secret = extractSecret(header, mode);
216216
} else {

0 commit comments

Comments
 (0)