csrf-tokens
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -11,3 +11,3 @@ | ||
// adjustable lengths | ||
var secretLength = options.secretLength || 12 // the longer the better | ||
var secretLength = options.secretLength || 24 // the longer the better | ||
var saltLength = options.saltLength || 8 // doesn't need to be long | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "csrf-tokens", | ||
"description": "primary logic behind csrf tokens", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Jonathan Ong", |
@@ -20,3 +20,3 @@ | ||
- `secretLength: 12` - the byte length of the secret key | ||
- `secretLength: 24` - the byte length of the secret key | ||
- `saltLength: 8` - the string length of the salt | ||
@@ -23,0 +23,0 @@ - `tokensize: (secret, salt) => token` - a custom token creation function |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package