Skip to content

primefactor-io/commitment

Repository files navigation

Commitment

Implementations of various Commitment Schemes.

Right now a Hash-Based Commitment Scheme using the SHA-256 hash function is available.

Setup

  1. git clone <url>
  2. asdf install (optional)
  3. go test -count 1 -race ./...

Useful Commands

go run <package-path>
go build [<package-path>]

go test [<package-path>][/...] [-v] [-cover] [-race] [-short] [-parallel <number>]
go test -bench=. [<package-path>] [-count <number>] [-benchmem] [-benchtime 2s] [-memprofile <name>]

go test -coverprofile <name> [<package-path>]
go tool cover -html <name>
go tool cover -func <name>

go fmt [<package-path>]

go mod init [<module-path>]
go mod tidy

Useful Resources

Releases

No releases published

Packages

No packages published

Languages