New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

sodiumperf

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sodiumperf

compare the performance of various cryptoprimitives in [sodium](https://github.com/paixaop/node-sodium)

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

sodiumperf

compare the performance of various cryptoprimitives in sodium

(by the way, using my secretbox_easy branch)

Method

This runs a script that runs an operation as many times as possible within 1 second. The total operations is then output, along with the number of operations/second compared to a sha256 hash. (i.e, how many sha256 hashes you could have done in the time to perform one operation)

first asymmetric primitives are tested, and then encryption/decryption is tested for inputs of increasing size. (32, 1024, 8096, 1048576 bytes)

results are here

note that the time to fail to decrypt a box is also measured. (this means calculate the poly1305 one time auth, but not calculating the keystream)

License

MIT

FAQs

Package last updated on 02 Aug 2015

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