Zokrates / ZoKrates

A toolbox for zkSNARKs on Ethereum
https://zokrates.github.io
GNU Lesser General Public License v3.0
1.8k stars 360 forks source link

Jubjub stdlib #1360

Open alv-around opened 7 months ago

alv-around commented 7 months ago

@dark64 following our last conversation on jubub, I managed to give another look over the holidays and found a way to make nonStrictUnpack256 to adjust the padding dynamically to the FIELD_SIZE_IN_BITS while keeping the original interface of the method, reducing the risk of incompatibilites and having much less files changed.

Can you give it a look a provide some feedback? Thanks :)