How do I use the core library Poseidon implementation? I've searched for examples of use on Github and I can't find anything in other resources.
Importing the module is easy enough:
use poseidon::Poseidon;
However I'm not sure how to interact with this type, and PoseidonTrait
or HashState
are not valid identifiers to import. There is the poseidon_hash_span()
function, but is there a better way to interact with the module?