git submodule update --init --recursive
git submodule update --recursive
This is still a prototype, but quite advanced on both C++ and JS!
- To test C++ implementation, just type
make
(and run./build/app_main
). - To test JS implementation, just type
make jstest
(it will build everything and runnode_test.js
)
This project has very interesting dependencies. We need external:
- BigInteger library
- Cryptography library
From C++ perspective, we use csBigInteger-cpp, that uses GNU MP (GMP) in background (or optionally, Mono BigInteger implementation).
From JS perspective, we use csBigInteger.js, that also uses bn.js in background.
From C++ perspective, we use libcrypton, that uses OpenSSL in background (or optionally, Crypto++ implementation from Wei Dai).
From JS perspective, we use crypto-js for SHA256, but we may also use elliptic to double-check elliptic curves.