🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

xsalsa20-universal

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xsalsa20-universal

xsalsa20 instance that works in node and in the browser

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
954
-5.17%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 30 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts