node-forge 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/ed25519.js CHANGED
@@ -215,7 +215,7 @@ function sha512(msg, msgLen) {
215
215
  var md = forge.md.sha512.create();
216
216
  var buffer = new ByteBuffer(msg);
217
217
  md.update(buffer.getBytes(msgLen), 'binary');
218
- const hash = md.digest().getBytes();
218
+ var hash = md.digest().getBytes();
219
219
  if(typeof Buffer !== 'undefined') {
220
220
  return new Buffer(hash, 'binary');
221
221
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-forge",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.",
5
5
  "homepage": "https://github.com/digitalbazaar/forge",
6
6
  "author": {