Library of common cryptographic algorithms and functions for Pony. Requires LibreSSL or OpenSSL. See installation for more details.
Production ready.
- Install corral
corral add github.com/ponylang/crypto.git
corral fetch
to fetch your dependenciesuse "crypto"
to include this packagecorral run -- ponyc
to compile your application
crypto
requires either LibreSSL or OpenSSL in order to operate. You'll might need to install it within your environment of choice.
sudo apt-get install -y libssl-dev
apk add --update libressl-dev
pacman -S openssl
brew update
brew install libressl
sudo port install libressl
sudo dnf install openssl-devel
sudo yum install openssl-devel
sudo zypper install libopenssl-devel
Download a prebuilt binary from https://www.libressl.org/.