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 ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Curl ¶
type Curl struct {
// contains filtered or unexported fields
}
Curl is the BCT version of the Curl hashing function.
func (*Curl) Absorb ¶
Absorb fills the states of the sponge with src; each element of src must have the length tritsCount. The value tritsCount has to be a multiple of HashTrinarySize.
Click to show internal directories.
Click to hide internal directories.