Skip to content

mikelodder7/blstrs

 
 

Repository files navigation

blstrs_plus

This crate provides an implementation of the BLS12-381 pairing-friendly elliptic curve construction with hash-to-curve and multiexponentiation methods.

  • This implementation has not been reviewed or audited. Use at your own risk.
  • This implementation does not require the Rust standard library.
  • All operations are constant time unless explicitly noted.

Features

  • bits (on by default): Enables APIs for obtaining bit iterators for scalars.
  • groups (on by default): Enables APIs for performing group arithmetic with G1, G2, and GT.
  • pairings (on by default): Enables APIs for performing pairings.
  • alloc (on by default): Enables APIs that require an allocator.
  • ark: Enables arkworks compatibility.
  • expose-fields: Exposes field element modules.

Testing

Test for non-wasm32 targets:

cargo test

Test wasm32 targets:

cargo test --target wasm32-unknown-unknown

License

Licensed under either of

at your option.

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 above, without any additional terms or conditions.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 99.8%
  • HTML 0.2%