Node-crypto-extras is a project mainly written in C++ and JAVASCRIPT, based on the View license.
Extra OpenSSL functions for node.js
For RSA - https://github.com/chrisa/node-rsa ("rsa" in npm). For Random - https://github.com/akdubya/rbytes - ("rbytes" in npm).
node-crypto-extras
This module provides access to extra crypto routines from OpenSSL:
RSA is limited to RSAES-OAEP and encryption with a public key, decryption with a private key.
With node
in your path:
$ ls Makefile build rsa.private src README lib rsa.public test $ make
Either copy build/default/cryptoExtrasBindings.node and lib/crypto-extras.js to a location node.js will look in, or add the directories to your NODE_PATH:
$ NODE_PATH=node-crypto-extras/build/default:node-crypto-extras/lib node ...
See test/test.js.
BSD, see LICENCE.