package
1.0.0
Repository: https://github.com/iotaledger/iota.go.git
Documentation: pkg.go.dev

# Packages

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

# Functions

HashTrits returns the hash of the given trits.
HashTrytes returns the hash of the given trytes.
MustHashTrytes returns the hash of the given trytes.
NewCurlP81 returns a new Curl-P-81.

# Constants

NumRounds is the number of rounds in a Curl transform.
SpongeAbsorbing indicates that the sponge is absorbing input.
SpongeSqueezing indicates that the sponge is being squeezed.
StateSize is the size of the Curl hash function.

# Variables

Indices stores the rotation indices for a Curl round.

# Structs

Curl is a sponge function with an internal state of size StateSize.

# Type aliases

SpongeDirection indicates the direction trits are flowing through the sponge.