noise-protocol
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -199,3 +199,3 @@ /* eslint-disable camelcase */ | ||
var protocolName = new TextEncoder('utf8').encode(`Noise_${handshakePattern}_25519_ChaChaPoly_BLAKE2b`) | ||
var protocolName = Uint8Array.from(`Noise_${handshakePattern}_25519_ChaChaPoly_BLAKE2b`, toCharCode) | ||
@@ -503,1 +503,5 @@ symmetricState.initializeSymmetric(state.symmetricState, protocolName) | ||
} | ||
function toCharCode (s) { | ||
return s.charCodeAt(0) | ||
} |
{ | ||
"name": "noise-protocol", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Javascript implementation of the Noise Protocol Framework based on libsodium", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
49721
1059