Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 890 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 890 Bytes

Crypto

This repository is the cryptographic package adapted for GateChain's uses.

Download/Install

The easiest way to install is to run go get -u github.com/gatechain/crypto. You can also manually git clone the repository to $GOPATH/src/github.com/gatechain/crypto.

Usage

import "github.com/gatechain/crypto"

This package depends on libsodium. Set the following environment variables before using

export SODIUM_PATH=/usr/local  (The installed libsodium library path, Users modify the installation path according to their own)
export CGO_CFLAGS="-I$SODIUM_PATH/include"
export CGO_LDFLAGS="-L$SODIUM_PATH/lib"

Report Issues

The main issue tracker for the repository is located at https://github.com/gatechain/crypto/issues.

Note that contributions receive additional scrutiny due to their sensitive nature.