plonky2-crypto icon indicating copy to clipboard operation
plonky2-crypto copied to clipboard

Crypto Gadgets for Plonky2

Results 4 plonky2-crypto issues
Sort by recently updated
recently updated
newest added

Doing a git clone of current master of plonk2-crypto does not compile. This PR fixes that.

## debug log ``` error[E0107]: trait takes 2 generic arguments but 1 generic argument was supplied --> src/nonnative/gadgets/biguint.rs:442:52 | 442 | impl SimpleGenerator | ^^^^^^^^^^^^^^^ - supplied 1 generic argument...

This PR adds serialization support for the generators and gates defined in this repo. Also, there are other formatting changes from running `cargo fmt`.

Changes: 1. Cleaned up the sha256 implementation (block digest -> reusable function, same with constant generation and state) 2. Added support for arbitrary length sha256 (no longer limited to 512...