{"_id":"xsalsa20-universal","_rev":"481585","name":"xsalsa20-universal","description":"xsalsa20 instance that works in node and in the browser","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"mafintosh","email":""}],"time":{"modified":"2021-08-05T09:39:41.000Z","created":"2020-04-30T16:48:59.539Z","1.0.0":"2020-04-30T16:48:59.539Z"},"users":{},"author":{"name":"Mathias Buus","url":"@mafintosh"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/xsalsa20-universal.git"},"versions":{"1.0.0":{"name":"xsalsa20-universal","version":"1.0.0","description":"xsalsa20 instance that works in node and in the browser","main":"index.js","dependencies":{"sodium-native":"^3.0.1","xsalsa20":"^1.1.0"},"devDependencies":{"standard":"^14.3.3","tape":"^5.0.0"},"browser":"./browser.js","scripts":{"test":"standard && tape test.js"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/xsalsa20-universal.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/xsalsa20-universal/issues"},"homepage":"https://github.com/mafintosh/xsalsa20-universal","gitHead":"1ccdb7ae22ae7f16306a0cfac9f25fe2e508109a","_id":"xsalsa20-universal@1.0.0","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"shasum":"aece5ca2a121c5f1e667dbb8e7dddb05ffb599ea","size":1706,"noattachment":false,"key":"/xsalsa20-universal/-/xsalsa20-universal-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xsalsa20-universal/download/xsalsa20-universal-1.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xsalsa20-universal_1.0.0_1588265339416_0.43952575795142357"},"_hasShrinkwrap":false,"publish_time":1588265339539,"_cnpm_publish_time":1588265339539}},"readme":"# xsalsa20-universal\n\nxsalsa20 instance that works in node and in the browser\n\n```\nnpm install xsalsa20-universal\n```\n\n## Usage\n\n``` js\nconst XSalsa20 = require('xsalsa20-universal')\n\nconst x = new XSalsa20(nonce, key)\n\nx.update(output1, input1)\nx.update(output2, input2)\nx.update(output3, input3)\n\nx.final()\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/mafintosh/xsalsa20-universal","bugs":{"url":"https://github.com/mafintosh/xsalsa20-universal/issues"},"license":"MIT"}