Coder Social home page Coder Social logo

skein's Introduction

Godoc Reference

The Skein hash function family

Skein is a cryptographic hash function family designed by Bruce Schneier, Niels Ferguson, Stefan Lucks, Doug Whiting, Mihir Bellare, Tadayoshi Kohno, Jon Callas and Jesse Walker.

Skein uses the tweakable block cipher Threefish in UBI chaining mode and can produce hash values of any length. There exists three Skein variants:

  • Skein-256 based on Threefish-256 with a block size of 256 bit.
  • Skein-512 based on Threefish-512 with a block size of 512 bit. (This variant is recommended)
  • Skein-1024 based on Threefish-1024 with a block size of 1024 bit. (Very conservative security level)

Installation

Install in your GOPATH: go get -u github.com/aead/skein

skein's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pedroalbanese

skein's Issues

func() hash.Hash

Greetings!

How do I solve this problem?

	var myHash func() hash.Hash

 	if *md == "skein256" {
	myHash = skein.New256
	}

"cannot use skein.New256 (type func([]byte) hash.Hash) as type func() hash.Hash in assignment"

Sorry, but how should I transform it to func() hash.Hash?

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.