A whirlpool hashing library for go
$ go get github.com/jzelinskie/whirlpool
package main
import (
"fmt"
"github.com/jzelinskie/whirlpool"
)
func main() {
w := whirlpool.New()
text := []byte("This is an example.")
w.Write(text)
fmt.Println(w.Sum(nil))
}
Check out the gopkgdoc page, but there isn't much -- it works just like the other hashes in the standard library
- master - stable, works like the hash libs in the corelib
- trace - same code as master, but prints midstate values to stdout
Modified BSD License