http_ece
Advanced tools
Comparing version 0.4.4 to 0.4.5
@@ -145,4 +145,9 @@ 'use strict'; | ||
if (padSize === 1) { | ||
keyInfo = 'Content-Encoding: aesgcm128'; | ||
nonceInfo = 'Content-Encoding: nonce'; | ||
if (params.authSecret) { | ||
keyInfo = info('aesgcm128', s.context); | ||
nonceInfo = info('nonce', s.context); | ||
} else { | ||
keyInfo = 'Content-Encoding: aesgcm128'; | ||
nonceInfo = 'Content-Encoding: nonce'; | ||
} | ||
} else if (padSize === 2) { | ||
@@ -149,0 +154,0 @@ keyInfo = info('aesgcm', s.context); |
{ | ||
"name": "http_ece", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "Encrypted Content-Encoding for HTTP", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/martinthomson/encrypted-content-encoding", |
291
11050
4