sha3

package module
v0.0.0-...-0277095 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2012 License: BSD-2-Clause Imports: 3 Imported by: 0

README

SHA3 for golang
===============

sha3 provides a hash.Hash implementation for the SHA3 winner, Keccak.

Since Keccak allows for arbitrary-length output, this package also provides a
bonus NewCipher to provide a cipher.Stream from any length key.

Disclaimer
----------

Until NIST says otherwise, this may not be the final version of SHA-3. For
example, they may still decide to tweak the number of rounds or something,
which would make this version incompatible.

Documentation

Overview

Package sha3 implements the SHA3 cryptographic hash function, Keccak (version 3.2). Implementation details are found at http://keccak.noekeon.org/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New224

func New224() hash.Hash

New224 returns a new hash.Hash computing the SHA-3 224-bit checksum.

func New256

func New256() hash.Hash

New256 returns a new hash.Hash computing the SHA-3 256-bit checksum.

func New384

func New384() hash.Hash

New384 returns a new hash.Hash computing the SHA-3 384-bit checksum.

func New512

func New512() hash.Hash

New512 returns a new hash.Hash computing the SHA-3 512-bit checksum.

func NewCipher

func NewCipher(iv, key []byte) cipher.Stream

NewCipher gives a stream cipher built from the concatenation of iv and key. This uses the variable-length output mode of 256-bit SHA-3.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL