Skip to main content

Module poseidon

Module poseidon 

Source
Expand description

Poseidon-based transcript configurations and implementations.

Modules§

sponge
Implementation of transcript traits for arkworks’ Poseidon sponge.

Functions§

poseidon_circom_config
poseidon_circom_config produces a Poseidon configuration for BN254’s scalar field that agrees with Circom’s Poseidon(4).
poseidon_paper_config
poseidon_paper_config produces a Poseidon configuration which agrees with the paper’s reference implementation.