Skip to content

Implements the x17 hash and required functions in go.

License

Notifications You must be signed in to change notification settings

vergecurrency/go-x17

 
 

Repository files navigation

go-x17 License godoc Go Coverage Status

Implements the x17 hash and required functions in go.

Usage

	package main

	import (
		"fmt"
		"github.com/marpme/go-x17"
	)

	func main() {
		hs, out := x17.New(), [32]byte{}
		hs.Hash([]byte("XVG"), out[:])
		fmt.Printf("%x \n", out[:])
	}

Notes

Echo, Simd and Shavite do not have 100% test coverage, a full test on these requires the test to hash a blob of bytes that is several gigabytes large.

License

go-x17 is licensed under the copyfree ISC license.

About

Implements the x17 hash and required functions in go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 70.5%
  • C 29.5%