Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

des

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

des - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

test/des.node

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc