bct

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package bct implements the BCT Curl hashing function computing multiple Curl hashes in parallel.

Index

Constants

View Source
const MaxBatchSize = bits.UintSize

MaxBatchSize is the maximum number of Curl hashes that can be computed in one batch.

Variables

View Source
var Indices = curl.Indices

Functions

func NewCurl

func NewCurl(rounds ...curl.CurlRounds) *state

NewCurl initializes a new BCT Curl instance.

func NewCurlP27

func NewCurlP27() *state

NewCurlP27 returns a new BCT Curl-P-27.

func NewCurlP81

func NewCurlP81() *state

NewCurlP81 returns a new BCT Curl-P-81.

Types

This section is empty.

Jump to

Keyboard shortcuts

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