0.3.4 • Published 9 years ago
origami-rsa-socket v0.3.4
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
9 years ago
0.3.3
9 years ago
0.3.2
9 years ago
0.2.27
9 years ago
0.1.26
9 years ago
0.1.25
9 years ago
0.1.23
9 years ago
0.1.21
9 years ago
0.1.20
9 years ago
0.1.17
9 years ago
0.1.16
9 years ago
0.1.14
9 years ago
0.1.12
9 years ago
0.1.11
9 years ago
0.1.8
9 years ago
0.1.7
9 years ago
0.1.6
9 years ago
0.1.4
9 years ago
0.1.3
9 years ago
0.1.1
9 years ago
0.1.0
9 years ago
0.0.9
9 years ago
0.0.8
9 years ago
0.0.7
9 years ago
0.0.6
9 years ago
0.0.5
9 years ago
0.0.4
9 years ago
0.0.3
9 years ago
0.0.2
9 years ago
0.0.1
9 years ago