Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "des", | ||
"version": "3.0.1", | ||
"main": "des", | ||
"version": "3.0.2", | ||
"main": "build/Release/des.node", | ||
"description": "A C++ module that does DES encryption.", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -1,2 +0,2 @@ | ||
var des = require('des'); | ||
var des = require('./des'); | ||
var fs = require('fs'); | ||
@@ -8,5 +8,10 @@ var assert = require('assert'); | ||
exports.challenge_response = function () { | ||
var encrypted = des.encrypt('browsers', challenge); | ||
assert.eql(encrypted, response); | ||
}; | ||
var encrypted = des.encrypt('moo', challenge); | ||
console.log("Encrypted:", encrypted); | ||
console.log("Response:", response); | ||
var encrypted = des.encrypt('moo', challenge); | ||
console.log("Encrypted:", encrypted); | ||
console.log("Response:", response); | ||
var encrypted = des.encrypt('moo', challenge); | ||
console.log("Encrypted:", encrypted); | ||
console.log("Response:", response); |
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 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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
40173
14
14