LuoZijun / crypto-bench

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crypto Bench

# macOS
brew install libsodium openssl mbedtls

# Debian
apt install libsodium-dev libssl-dev libmbedtls-dev

rustflags config: .cargo/config.toml

git clone https://github.com/LuoZijun/crypto-bench
cd crypto-bench

# macOS
env OPENSSL_LIB_DIR="/usr/local/opt/openssl/lib" \
    SODIUM_LIB_DIR="/usr/local/opt/libsodium/lib" \
    SODIUM_SHARED=1 \
    cargo bench

# Other System
cargo bench

About


Languages

Language:Rust 100.0%