xsalsa20-universal

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i xsalsa20-universal

Weekly Downloads

390

Version

1.0.0

License

MIT

Unpacked Size

4.06 kB

Total Files

6

Last publish

Collaborators

  • mafintosh