/dalek-crypto

Javascript bindings for some of the dalek-cryptography Rust libraries

Primary LanguageRust

dalek-crypto

Javascript bindings to some of the functionality in the brilliant dalek cryptography1 set of Rust libraries

Requirements

Installing and compiling

npm install @futuretense/dalek-crypto

Benchmarks

ed255192 sodium-native3 dalek dalek w/ AVX2
Generate 41,565 23,172 25,099 23,861
Sign 43,173 24,548 26,873 25,565
Verify 121,710 75,394 73,841 46,266
Time in ms; 1,000,000 calls, on a 3GHz MBP

Notes:


1) https://github.com/dalek-cryptography/

2) https://www.npmjs.com/package/ed25519

3) https://www.npmjs.com/package/sodium-native