jssign 0.3.0 → 0.3.1
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ console.log(data) // { foo: 'bar' }
|
|
|
38
38
|
`secret` can be a string
|
|
39
39
|
|
|
40
40
|
`options`:
|
|
41
|
-
- `expiresIn` can be a numeric value representing time in ms (no expiration
|
|
41
|
+
- `expiresIn` can be a numeric value representing time in ms (default value is `0` which represents no expiration).
|
|
42
42
|
- `sl` can be a numberic value representing salt length (default value is `32`). Salt is a random string which is added on top of data to keep the token different everytime even for the same data.
|
|
43
43
|
|
|
44
44
|
### More secure Usage
|
|
@@ -59,7 +59,7 @@ console.log(data) // { id: 'confidential_data' }
|
|
|
59
59
|
`secret` can be a string
|
|
60
60
|
|
|
61
61
|
`options`:
|
|
62
|
-
- `expiresIn` can be a numeric value representing time in ms (no expiration
|
|
62
|
+
- `expiresIn` can be a numeric value representing time in ms (default value is `0` which represents no expiration).
|
|
63
63
|
|
|
64
64
|
`sjclOptions` are the options taken by `sjcl.encrypt` method having type `SjclCipherEncryptParams`
|
|
65
65
|
## Author
|