[][src]Module poseidon252::sponge::sponge

The pad module implements the Sponge's padding algorithm

Functions

sponge_hash

The hash function takes an arbitrary number of Scalars and returns the hash, using the Hades ScalarStragegy

sponge_hash_gadget

The hash function takes an arbitrary number of plonk Variables and returns the hash, using the Hades GadgetStragegy