Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

libsodium-neon

Package Overview
Dependencies
Maintainers
8
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libsodium-neon

Node.js bindings to rust_sodium.

  • 2.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-25%
Maintainers
8
Weekly downloads
 
Created
Source

Wire

This repository is part of the source code of Wire. You can find more information at wire.com or by contacting opensource@wire.com.

You can find the published source code at github.com/wireapp.

For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.

Usage

const libsodium = require('libsodium-neon');
const keyPair = libsodium.crypto_sign_keypair();
// keyPair = {publicKey: Uint8Array [118, 200, 242, 168, 123, 173, 221, 232, ...]}

Building

Requirements

Installation

Just install the needed packages for this project by running:

npm install

Afterwards you can build the project:

npm run build

To test the native module, run:

npm test

Speed comparison

System specs: macOS 10.12 @ 2.6 GHz Intel Core i7, 16 GB RAM

Functionops/secops/sectimes faster
libsodium.jslibsodium-neon
crypto_auth_hmacsha256  51,15655,562  1.09
crypto_scalarmult  866,12970.80
crypto_sign_detached2516,277  25.01
crypto_sign_ed25519_pk_to_curve2551959621,030  35.29
crypto_sign_ed25519_sk_to_curve2551913,39090,650  6.77
crypto_sign_keypair  2766,602  23.92
Average10,95931,0422.83

FAQs

Package last updated on 15 Jan 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc