Categorygithub.com/gatechain/crypto
repositorypackage
0.1.0
Repository: https://github.com/gatechain/crypto.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

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.