@sequencemedia/pbkdf2 1.0.6 → 1.0.7

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/README.md +8 -0
  2. package/package.json +10 -1
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @sequencemedia/pbkdf2
2
2
 
3
+ ES functions are exported from package root alongside a TS definition
4
+
5
+ ## Password validation
6
+
3
7
  A password can be validated against a `hash` and `salt` (and the number of `iterations` that were used to compute it)
4
8
 
5
9
  Both the `hash` and `salt` are expected from the command line to be strings in _Base64_ format
@@ -7,6 +11,10 @@ Both the `hash` and `salt` are expected from the command line to be strings in _
7
11
  - The `hash` is decoded to a `Buffer`
8
12
  - The `salt` is transformed from _Base64_ into _ASCII_
9
13
 
14
+ You can use these utilities from the shell or as part of a Node application
15
+
16
+ ## Tests
17
+
10
18
  ```bash
11
19
  npm test
12
20
  bash ./compare.sh
package/package.json CHANGED
@@ -1,6 +1,15 @@
1
1
  {
2
2
  "name": "@sequencemedia/pbkdf2",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
+ "keywords": [
5
+ "pbkdf2",
6
+ "crypto",
7
+ "compare",
8
+ "hash",
9
+ "salt",
10
+ "ecmascript",
11
+ "typescript"
12
+ ],
4
13
  "main": "./index.mjs",
5
14
  "type": "module",
6
15
  "author": {