0.3.4 • Published 10 years ago

origami-rsa-socket v0.3.4

Weekly downloads
3
License
ISC
Repository
gitlab
Last release
10 years ago

Origami RSA socket

Purpose

Wrap socket messages on both ends to encrypt communication. Does not verify key provided by the other end.

Usage

var RSASocket = require('origami-rsa-socket');

var rsa1 = new RSASocket(
  key // private key is required. see https://gitlab.com/origami2/crypto-utils/blob/master/README.md
);

rsa1
.connect(
  socket // any socket that uses .emit/.on/.off like node EventEmitter, socket.io or EventEmitter2
)
.then(
  function (secureSocket) {
    // secureSocket is another socket like object.
    // messages will be encrypted, passed through, and decrypyted
    // on the other end
  }
);
0.3.4

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.2.27

10 years ago

0.1.26

10 years ago

0.1.25

10 years ago

0.1.23

10 years ago

0.1.21

10 years ago

0.1.20

10 years ago

0.1.17

10 years ago

0.1.16

10 years ago

0.1.14

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago