https://github.com/mighty-gerbils/gerbil-crypto
Extra cryptographic functions for Gerbil
https://github.com/mighty-gerbils/gerbil-crypto
crypto gerbil gerbil-scheme scheme
Last synced: about 2 months ago
JSON representation
Extra cryptographic functions for Gerbil
- Host: GitHub
- URL: https://github.com/mighty-gerbils/gerbil-crypto
- Owner: mighty-gerbils
- License: apache-2.0
- Created: 2020-06-16T16:28:45.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-22T16:18:31.000Z (6 months ago)
- Last Synced: 2025-01-26T18:26:49.370Z (4 months ago)
- Topics: crypto, gerbil, gerbil-scheme, scheme
- Language: Scheme
- Homepage:
- Size: 89.8 KB
- Stars: 5
- Watchers: 7
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gerbil-Crypto
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 and License
Copyright 2020 Mutual Knowledge Systems, Inc. All rights reserved.
Gerbil-crypto is distributed under the Apache License, version 2.0. See the file [LICENSE](LICENSE).## Installation instructions
### Dependencies
You need to first install the [Gerbil Scheme](https://cons.io) compiler.
Gerbil depends on `openssl` so you'll have it installed.Then you must install the [Gerbil Clan](https://github.com/fare/gerbil-utils) utilities
and the [Gerbil-POO](https://github.com/fare/gerbil-poo) object system,
which `gxpkg` may automatically download for you.Finally, you need to install the following libraries:
- `libsecp256k1`: On Debian/Ubuntu, install with `apt install libsecp256k1-dev`
- `libsodium`: On Debian/Ubuntu, install with `apt install libsodium-dev`The nix recipe for `gerbil-crypto` installs these dependencies automatically.
YMMV on other Linux distributions.### Building
Once all dependencies are installed, you may build with:
./build.ss
Test with:
./unit-tests.ss