wireapp / Libsodium Neon
Licence: gpl-3.0
Node.js bindings to rust_sodium.
Stars: ✭ 38
Programming Languages
rust
11053 projects
Labels
Projects that are alternatives of or similar to Libsodium Neon
Supergirloncrypt
CryptoTrojan in Python (For educational purpose ONLY)
Stars: ✭ 28 (-26.32%)
Mutual labels: cryptography
Xsimd
C++ wrappers for SIMD intrinsics and parallelized, optimized mathematical functions (SSE, AVX, NEON, AVX512)
Stars: ✭ 964 (+2436.84%)
Mutual labels: neon
Cryptoanalysis
CogniCrypt_SAST: CrySL-to-Static Analysis Compiler
Stars: ✭ 36 (-5.26%)
Mutual labels: cryptography
Indurative
Easily create authenticated data structures
Stars: ✭ 30 (-21.05%)
Mutual labels: cryptography
Powersoftau
An independent implementation of the Powers of Tau MPC ceremony.
Stars: ✭ 32 (-15.79%)
Mutual labels: cryptography
Sephia Five
A secure and PGP enabled webmail module for Phosphorus Five
Stars: ✭ 21 (-44.74%)
Mutual labels: cryptography
X25519
Public key cryptography library for Ruby providing the X25519 Diffie-Hellman function
Stars: ✭ 37 (-2.63%)
Mutual labels: cryptography
Cl Tls
An implementation of TLS and related specifications in Common Lisp
Stars: ✭ 32 (-15.79%)
Mutual labels: cryptography
Ksuid
Java implementation of K-Sortable Globally Unique IDs
Stars: ✭ 35 (-7.89%)
Mutual labels: cryptography
Claimchain Core
A core and experimental implementation of ClaimChain
Stars: ✭ 30 (-21.05%)
Mutual labels: cryptography
Datasafe
Datasafe - flexible and secure data storage and document sharing using cryptographic message syntax for data encryption
Stars: ✭ 32 (-15.79%)
Mutual labels: cryptography
Guardedbox
Online client-side manager for secure storage and secrets sharing.
Stars: ✭ 34 (-10.53%)
Mutual labels: cryptography
Libpki
Easy-to-use high-level library for PKI-enabled applications
Stars: ✭ 36 (-5.26%)
Mutual labels: cryptography
Libsimdpp
Portable header-only C++ low level SIMD library
Stars: ✭ 914 (+2305.26%)
Mutual labels: neon
Awesome Crypto Papers
A curated list of cryptography papers, articles, tutorials and howtos.
Stars: ✭ 985 (+2492.11%)
Mutual labels: cryptography
Cryptography
Cryptography Android application code samples / cipher collection for app users
Stars: ✭ 35 (-7.89%)
Mutual labels: cryptography
Wire
This repository is part of the source code of Wire. You can find more information at wire.com or by contacting [email protected].
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/.
libsodium-neon
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
- Node.js
- Rust
- For Windows also windows-build-tools
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
Function | ops/sec | ops/sec | times faster |
---|---|---|---|
libsodium.js |
libsodium-neon |
||
crypto_auth_hmacsha256 |
51,156 | 55,562 | 1.09 |
crypto_scalarmult |
86 | 6,129 | 70.80 |
crypto_sign_detached |
251 | 6,277 | 25.01 |
crypto_sign_ed25519_pk_to_curve25519 |
596 | 21,030 | 35.29 |
crypto_sign_ed25519_sk_to_curve25519 |
13,390 | 90,650 | 6.77 |
crypto_sign_keypair |
276 | 6,602 | 23.92 |
Average | 10,959 | 31,042 | 2.83 |
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].