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.
Build the crate with all features:
cargo build --all-featuresRun tests:
cargo testNew 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.
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.