Expand description
An instantiation of Poseidon for the BLS12-377 scalar field.
Modules§
Structs§
- Instance
- Represents a generic instance of
Poseidon
. - Poseidon
Parameters - A set of Poseidon1 parameters for a given set of input parameters over decaf377::Fq.
Constants§
- RATE_
1_ PARAMS - Parameters for the rate-1 instance of Poseidon.
- RATE_
2_ PARAMS - Parameters for the rate-2 instance of Poseidon.
- RATE_
3_ PARAMS - Parameters for the rate-3 instance of Poseidon.
- RATE_
4_ PARAMS - Parameters for the rate-4 instance of Poseidon.
- RATE_
5_ PARAMS - Parameters for the rate-5 instance of Poseidon.
- RATE_
6_ PARAMS - Parameters for the rate-6 instance of Poseidon.
- RATE_
7_ PARAMS - Parameters for the rate-7 instance of Poseidon.
Functions§
- hash_1
- Hash a single
Fq
element with the provideddomain_separator
. - hash_2
- Hash two
Fq
elements with the provideddomain_separator
. - hash_3
- Hash three
Fq
elements with the provideddomain_separator
. - hash_4
- Hash four
Fq
elements with the provideddomain_separator
. - hash_5
- Hash five
Fq
elements with the provideddomain_separator
. - hash_6
- Hash six
Fq
elements with the provideddomain_separator
. - hash_7
- Hash seven
Fq
elements with the provideddomain_separator
.