Crate poseidon377

source ·
Expand description

An instantiation of Poseidon for the BLS12-377 scalar field.

Modules

Structs

Represents a generic instance of Poseidon.
A set of Poseidon parameters for a given set of input parameters.

Statics

Parameters for the rate-1 instance of Poseidon.
Parameters for the rate-2 instance of Poseidon.
Parameters for the rate-3 instance of Poseidon.
Parameters for the rate-4 instance of Poseidon.
Parameters for the rate-5 instance of Poseidon.
Parameters for the rate-6 instance of Poseidon.
Parameters for the rate-7 instance of Poseidon.

Functions

Hash a single Fq element with the provided domain_separator.
Hash two Fq elements with the provided domain_separator.
Hash three Fq elements with the provided domain_separator.
Hash four Fq elements with the provided domain_separator.
Hash five Fq elements with the provided domain_separator.
Hash six Fq elements with the provided domain_separator.
Hash seven Fq elements with the provided domain_separator.

Type Definitions