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

A C++ module that does DES encryption.

  • 3.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
45
increased by7.14%
Maintainers
1
Weekly downloads
 
Created
Source

This is a node.js module, written in C++, that DES encrypts given buffer with the given key. And it actually works, compared to nonsense output that node.js's crypto module produced.

It was written by Peteris Krumins (peter@catonmat.net). His blog is at http://www.catonmat.net -- good coders code, great reuse.


About

I wrote this module so that I could add VNC Authentication in node-rfb module. Don't use it for anything else cause DES is completely broken and can be cracked in a day.

How to use it?

var ecnrypted_data = require('des').encrypt(key, data_buffer);

Note: data_buffer's length must be a multiple of 8.

How to compile?

node-waf configure build

Have fun encrypting. Not. (Don't use this module for encryption.)

Sincerely, Peteris Krumins http://www.catonmat.net

Keywords

FAQs

Package last updated on 02 Apr 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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