1
mirror of https://github.com/rclone/rclone synced 2024-11-25 02:47:14 +01:00
rclone/vendor/github.com/jzelinskie/whirlpool
2019-06-30 18:35:01 +01:00
..
.travis.yml vendor: add jzelinskie/whirlpool 2019-06-30 18:35:01 +01:00
const.go vendor: add jzelinskie/whirlpool 2019-06-30 18:35:01 +01:00
LICENSE vendor: add jzelinskie/whirlpool 2019-06-30 18:35:01 +01:00
README.md vendor: add jzelinskie/whirlpool 2019-06-30 18:35:01 +01:00
whirlpool.go vendor: add jzelinskie/whirlpool 2019-06-30 18:35:01 +01:00

whirlpool.go

A whirlpool hashing library for go

Build status

Build Status

Setup

$ go get github.com/jzelinskie/whirlpool

Example

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))
}

Docs

Check out the gopkgdoc page, but there isn't much -- it works just like the other hashes in the standard library

Branches

  • master - stable, works like the hash libs in the corelib
  • trace - same code as master, but prints midstate values to stdout

license

Modified BSD License