Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

raxor

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raxor

A seekable (random-access) XSALSA20 xor stream

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

RAXOR

A seekable (random-access) XSALSA20 xor stream.

npm install raxor

Usage

const RAXOR = require('raxor')

// nonce and key should be buffers of the ... nonce and key
const r = new RAXOR(nonce, key)

r.seek(10000) // seek to byte offset 10k
r.update(out, input) // xor the input buffer as if it was as this offset

r.final() // destroy the instance

License

MIT

FAQs

Package last updated on 27 Nov 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