diffie-hellman
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "diffie-hellman", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "pure js diffie-hellman", | ||
@@ -27,4 +27,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"bn.js": "^1.0.0", | ||
"miller-rabin": "^1.1.2", | ||
"bn.js": "^2.0.0", | ||
"miller-rabin": "^2.0.0", | ||
"randombytes": "^2.0.0" | ||
@@ -31,0 +31,0 @@ }, |
diffie hellman [![Build Status](https://travis-ci.org/crypto-browserify/diffie-hellman.svg)](https://travis-ci.org/crypto-browserify/diffie-hellman) | ||
==== | ||
pure js diffie-hellman, same api as node, most hard parts thanks to [bn.js](https://www.npmjs.org/package/bn.js) by [@indutny](https://github.com/indutny). In node just returns an object with `crypto.getDiffieHellman` and `crypto.getDiffieHellman` in the browser returns a shim. To require the pure JavaScript one in node `require('diffie-hellman/browser');`; | ||
pure js diffie-hellman, same api as node, most hard parts thanks to [bn.js](https://www.npmjs.org/package/bn.js) by [@indutny](https://github.com/indutny). In node just returns an object with `crypto.createDiffieHellman` and `crypto.getDiffieHellman` in the browser returns a shim. To require the pure JavaScript one in node `require('diffie-hellman/browser');`; |
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
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16785
9
365
+ Addedbn.js@2.2.0(transitive)
+ Addedmiller-rabin@2.0.1(transitive)
- Removedbn.js@1.3.0(transitive)
- Removedmiller-rabin@1.1.5(transitive)
Updatedbn.js@^2.0.0
Updatedmiller-rabin@^2.0.0