@quicore/hash 1.1.0 → 1.2.0

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -55,7 +55,7 @@ class GenerateHash {
55
55
  * @returns {Buffer} Hash output as a buffer.
56
56
  */
57
57
  static blake2b(input, digestSize = this.BLAKE2B_DIGEST_SIZE) {
58
- return _crypto.default.createHash('blake2b', {
58
+ return _crypto.default.createHash('blake2b512', {
59
59
  digestLength: digestSize
60
60
  }).update(input).digest();
61
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicore/hash",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "A lightweight utility for fast access to the most commonly used hashing algorithms including SHA, Blake2, and PBKDF2",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {