SPS Client
This is a Node.js client for Secure Polling System. Works in the browser with help from browserify.
npm install sps-client
Example
var SPSClient = var client = client var msg = 'I love ice cream'var regSig = 'iamregistrar' client
client.generateKeypair()
Generates a new elliptic curve keypair.
client.screed(msg, registrarSignature, cb)
Create a SPS screed for the given message. Requires a registrar signature, which will be included in the screed. cb returns (err, screed)