@connectedyard/phin-ecdh
Advanced tools
Comparing version 1.0.3 to 1.1.0
{ | ||
"name": "@connectedyard/phin-ecdh", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"main": "index.js", | ||
@@ -15,3 +15,6 @@ "dependencies": { | ||
"install": "node-gyp-build", | ||
"test": "mocha tests" | ||
"test": "mocha tests", | ||
"clean": "rm -r build", | ||
"example": "node examples/example1.js", | ||
"rebuild": "npm run clean && npm run install && npm run test" | ||
}, | ||
@@ -18,0 +21,0 @@ "engines": { |
@@ -7,2 +7,4 @@ (function () { | ||
const TEST_PEER_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEH3YWXdYEy6DkHh0PxbmOeFl/SZPh\nA5FuIcvLI4NFBNz9A7L1cE1j6kBq30cfd+yK3IpPM2t2P+2zy0AAoFvRqQ==\n-----END PUBLIC KEY-----" | ||
describe('ecdh', function () { | ||
@@ -17,6 +19,3 @@ | ||
const PEER_PUBLIC_KEY_STRING = '-----BEGIN PUBLIC KEY-----\n' + | ||
'MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEH3YWXdYEy6DkHh0PxbmOeFl/SZPh\n' + | ||
'A5FuIcvLI4NFBNz9A7L1cE1j6kBq30cfd+yK3IpPM2t2P+2zy0AAoFvRqQ==\n' + | ||
'-----END PUBLIC KEY-----\n' | ||
const PEER_PUBLIC_KEY_STRING = TEST_PEER_PUBLIC_KEY | ||
@@ -23,0 +22,0 @@ const ecdh = new ECDHSession() |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 6 instances 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
377834
4
60
13