Gerbil-crypto is collection of cryptographic primitives that complement those included in Gerbil itself (as interfaced from OpenSSL).
Current primitives are sufficient to interface with Ethereum: keccak256 and secp256k1.
More primitives may be added in the future.
Copyright 2020 Mutual Knowledge Systems, Inc. All rights reserved. Gerbil-crypto is distributed under the Apache License, version 2.0. See the file LICENSE.
You need to first install the Gerbil Scheme compiler.
Gerbil depends on openssl
so you'll have it installed.
Then you must install the Gerbil Clan utilities
and the Gerbil-POO object system,
which gxpkg
may automatically download for you.
Finally, you need to install the following libraries:
libsecp256k1
: On Debian/Ubuntu, install withapt install libsecp256k1-dev
libsodium
: On Debian/Ubuntu, install withapt install libsodium-dev
The nix recipe for gerbil-crypto
installs these dependencies automatically.
YMMV on other Linux distributions.
Once all dependencies are installed, you may build with:
./build.ss
Test with:
./unit-tests.ss