Skip to content

xsalsa20 instance that works in node and in the browser

License

Notifications You must be signed in to change notification settings

mafintosh/xsalsa20-universal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

xsalsa20 instance that works in node and in the browser

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published