Skip to content

farces/skein512

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Skein512-512 in Go

See http://www.h2database.com/skein/ for the original implementation. Based on the Scala version, which is (most likely) optimized for size. Scala implementation based on the C reference implementation v1.3.

go get github.com/farces/skein512/skein
import "github.com/farces/skein512/skein"

Usage

hasher := skein.NewSkein512()
message := "your message here"
result := hasher.Hash([]byte(message))

.Hash(x []byte) takes a byte array rather than a string as it can/will be used to hash non-strings (i.e. file data, etc.)

Disclaimer

Other than the tests in the test suite (short string, > 512bit string, multiple consecuitive hashes) this package has not been widely tested. Do not use with the impression that it is complete or faultless, do not use in Production Code without significant testing. For educational use only.

About

Skein512-512 ported from Scala to Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages