You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arnaucube 93bf45c299 fix bbjj api: return err when hash fails while sign/verify 1 year ago
.github/workflows Poseidon Sponge Hash with different frame sizes (#52) 1 year ago
babyjub fix bbjj api: return err when hash fails while sign/verify 1 year ago
constants Poseidon Sponge Hash with different frame sizes (#52) 1 year ago
ff Faster ff arithmetics (regenerated code with the newest goff) (#43) 3 years ago
ffg Update element.go 2 years ago
goldenposeidon Poseidon Sponge Hash with different frame sizes (#52) 1 year ago
keccak256 Poseidon Sponge Hash with different frame sizes (#52) 1 year ago
mimc7 Poseidon Sponge Hash with different frame sizes (#52) 1 year ago
poseidon fix comments 1 year ago
utils Poseidon Sponge Hash with different frame sizes (#52) 1 year ago
.golangci.yml Poseidon Sponge Hash with different frame sizes (#52) 1 year ago
LICENSE-APACHE Switch to Apache 2.0 / MIT licenses (#54) 1 year ago
LICENSE-MIT Switch to Apache 2.0 / MIT licenses (#54) 1 year ago
README.md Switch to Apache 2.0 / MIT licenses (#54) 1 year ago
go.mod Poseidon Sponge Hash with different frame sizes (#52) 1 year ago
go.sum Poseidon Sponge Hash with different frame sizes (#52) 1 year ago

README.md

go-iden3-crypto Go Report Card Test Status Lint Status GoDoc

Go implementation of some cryptographic primitives (that fit inside the SNARK field) used in iden3:

  • BabyJubJub curve arithmetics & EdDSA on it
  • Goldilocks curve arithmetics
  • Poseidon hash for BN254
  • Poseidon hash for Goldilocks
  • MIMC7

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as below, without any additional terms or conditions.

License

© 2023 0kims Association

This project is licensed under either of

at your option.