Skip to content

encryption4all/pg-curve

 
 

Repository files navigation

PostGuard

For full documentation, visit docs.postguard.eu.

A fork of the BLS12-381 pairing-friendly elliptic curve construction crate, adding target group serialization. This fork exists because the upstream maintainers do not wish to merge the proposed serialization standard (zkcrypto/bls12_381#12). The crate tracks upstream with the gt-serialisation branch merged.

In the PostGuard ecosystem, pg-curve is the lowest-level building block. The ibe crate depends on it for all BLS12-381 curve arithmetic.

Development

Build the crate with all features:

cargo build --all-features

Run tests:

cargo test

Releasing

New versions are published manually to crates.io. Bump the version in Cargo.toml, commit, tag, and run cargo publish. See RELEASES.md for version history.

License

Dual-licensed at your option under either MIT or Apache-2.0, matching the upstream bls12_381 crate. This is the standard Rust ecosystem licensing arrangement and is declared as license = "MIT/Apache-2.0" in Cargo.toml.

About

Fork of the BLS12-381 crate for PostGuard

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 99.8%
  • HTML 0.2%