Quarkhash is an hash function designed by Colin Percival & used in several crypto currencies.
This library allows using Quarkhash in any Golang software.
$ go get github.com/mycroft/goquarkhash
$ cd $GOPATH/src/github.com/mycroft/goquarkhash
$ make all
package main
import (
"fmt"
quark "github.com/mycroft/goquarkhash"
)
func main() {
hash := quark.QuarkHash(make([]byte, 32))
fmt.Printf("%x\n", hash)
}
Please see source code files.