0.1.0 • Published 8 years ago
rest-message v0.1.0
Rest message
Rest message provide a way to encrypt/decrypt rest messages between client and server. It can be used in both nodejs server environment or browser client.
Examples:
var rest = require('rest-message')('your private key', 'default token');
var msg = {
data: {
param1: 'value1',
param2: 1234
}
}
rest.encode(msg);
console.log(msg);
0.1.0
8 years ago