xsalsa20-universal
xsalsa20 instance that works in node and in the browser
Last updated 4 years ago by mafintosh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install xsalsa20-universal 
SYNC missed versions from official npm registry.

xsalsa20-universal

xsalsa20 instance that works in node and in the browser

npm install xsalsa20-universal

Usage

const XSalsa20 = require('xsalsa20-universal')

const x = new XSalsa20(nonce, key)

x.update(output1, input1)
x.update(output2, input2)
x.update(output3, input3)

x.final()

License

MIT

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |