Comparing version 3.1.4 to 3.2.1
'use strict'; | ||
// Load modules | ||
const Crypto = require('crypto'); | ||
@@ -10,4 +8,2 @@ | ||
// Declare internals | ||
const internals = {}; | ||
@@ -14,0 +10,0 @@ |
{ | ||
"name": "cryptiles", | ||
"description": "General purpose crypto utilities", | ||
"version": "3.1.4", | ||
"version": "3.2.1", | ||
"repository": "git://github.com/hapijs/cryptiles", | ||
"engines": { | ||
"node": ">=6.0.0" | ||
}, | ||
"main": "lib/index.js", | ||
@@ -17,9 +20,9 @@ "keywords": [ | ||
"code": "4.x.x", | ||
"lab": "13.x.x" | ||
"lab": "14.x.x" | ||
}, | ||
"scripts": { | ||
"test": "lab -a code -t 100 -I SharedArrayBuffer,Atomics,BigUint64Array,BigInt64Array,BigInt,URL,URLSearchParams -m 30000", | ||
"test-cov-html": "lab -a code -I SharedArrayBuffer,Atomics,BigUint64Array,BigInt64Array,BigInt,URL,URLSearchParams -m 30000 -r html -o coverage.html" | ||
"test": "lab -a code -t 100 -m 30000 -l", | ||
"test-cov-html": "lab -a code -m 30000 -r html -o coverage.html -l" | ||
}, | ||
"license": "BSD-3-Clause" | ||
"license": "SEE LICENSE IN LICENSE.md" | ||
} |
@@ -1,19 +0,9 @@ | ||
cryptiles | ||
========= | ||
# cryptiles | ||
General purpose crypto utilities | ||
[![Build Status](https://secure.travis-ci.org/hapijs/cryptiles.png)](http://travis-ci.org/hapijs/cryptiles) | ||
[![Build Status](https://travis-ci.org/hapijs/cryptiles.svg?branch=v3-commercial)](https://travis-ci.org/hapijs/cryptiles) | ||
Lead Maintainer - [C J Silverio](https://github.com/ceejbot) | ||
## License | ||
## Methods | ||
### `randomString(<Number> size)` | ||
Returns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string. | ||
### `randomDigits(<Number> size)` | ||
Returns a cryptographically strong pseudo-random data string consisting of only numerical digits (0-9). Takes a size argument for the length of the string. | ||
### `fixedTimeComparison(<String> a, <String> b)` | ||
Compare two strings using fixed time algorithm (to prevent time-based analysis of MAC digest match). Returns `true` if the strings match, `false` if they differ. | ||
This version of the package requires a commercial license. You may not use, copy, or distribute it without first acquiring a commercial license from Sideway Inc. Using this software without a license is a violation of US and international law. To obtain a license, please contact [sales@sideway.com](mailto:sales@sideway.com). The open source version of this package can be found [here](https://github.com/hapijs/cryptiles). |
Sorry, the diff of this file is not supported yet
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
3836
1
1
80
66
10
1