Skip to content

A golang implementation of crypto library (mainly for blockchains) which includes various modern crypto algorithms such as BIP32-ed25519, VRF (Verifiable Random Function) and so on.

Notifications You must be signed in to change notification settings

gatechain/crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A golang implementation of crypto library (mainly for blockchains) which includes various modern crypto algorithms such as BIP32-ed25519, VRF (Verifiable Random Function) and so on.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •