akosba / jsnark

A Java library for zk-SNARK circuits
MIT License
207 stars 85 forks source link

Fixed Util.padZeros method which did not work in a few cases #3

Closed clement-fischer closed 6 years ago

clement-fischer commented 7 years ago

Also added a new Unit test for SHA256 which works now and did not before.

clement-fischer commented 7 years ago

I also removed a file which I think should not have been added to the code

bbuenz commented 6 years ago

Ran into the same issue. Might be nice to merge this

akosba commented 6 years ago

Thanks for pointing out the issue with the utility method! I pushed a fix for it. For the file that was removed in the suggested merge, it is actually needed by one of the examples that illustrates how to augment circuits produced by the Pinocchio compiler.

Thanks!