gimli

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

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

Go to latest
Published: Jun 20, 2018 License: MIT Imports: 2 Imported by: 0

README

gimli

Gimli, a 384-bit permutation designed to achieve high security with high performance across a broad range of platforms.

This is a golang port of the public domain reference implementation in C from:

https://gimli.cr.yp.to

Benchmarks

Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz
go version go1.9.2 linux/amd64

name     time/op
Gimli-4  488ns ± 1%

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(output, input []byte)

Hash computes the hash using the sponge construction

Types

type Gimli

type Gimli [12]uint32

Gimli stores the state of the gimli permutation

func (*Gimli) Update

func (state *Gimli) Update()

Update advances the permutation to the next state

Jump to

Keyboard shortcuts

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