@futuretense/dalek-crypto
v0.1.0
Published
Javascript bindings to *some* of the functionality in the brilliant `dalek cryptography`<sup>[1](#note1)</sup> set of Rust libraries
Downloads
4
Readme
dalek-crypto
Javascript bindings to some of the functionality in the brilliant dalek cryptography
1 set of Rust libraries
Requirements
- Rust (https://www.rust-lang.org/tools/install)
- a target CPU with AVX2 extensions
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