jellyfish
jellyfish copied to clipboard
Ark-sponge compatibilty
Currently we have rescue-based sponge construction whereas ark-sponge
repo supports Poseidon. But it may be beneficial to be compliant to their trait.
working on #46, might as well get this done :-)
while working on this, i realized that their interfaces is really not compatible with ours. They are designed to manipulate on bits as in the case of poseidon. we can fit there but we will be wasting a few (de)serializations.
I think we need to define a proper API ourselves, along the line of https://docs.rs/sha2/latest/sha2/trait.Digest.html
while working on this, i realized that their interfaces is really not compatible with ours. They are designed to manipulate on bits as in the case of poseidon. we can fit there but we will be wasting a few (de)serializations.
I think we need to define a proper API ourselves, along the line of https://docs.rs/sha2/latest/sha2/trait.Digest.html
Take it back. We can support those APIs