Skip to content

KogarashiNetwork/bls12_381

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4e77136 · Nov 5, 2023

History

16 Commits
May 11, 2023
Nov 5, 2023
Apr 28, 2023
Nov 5, 2023
Nov 5, 2023
Aug 22, 2023
Aug 22, 2023

Repository files navigation

Bls12 381 Curve

CI crates.io badge Documentation GitHub license codecov dependency status

Pairing friendly bls12-381 curve supports fully no_std and parity-scale-codec.

Overview

This crate includes field and extension fields, curve implementation. There are two curve G 1 and G 2 described as following.

G 1 : y 2 = x 3 + 4

G 2 : y 2 = x 3 + 4 ( u + 1 )

These two group supports bilinearity by pairing. Let G and H be generator of G 1 , and G 2 , and e be pairing function. The relationship is described as following.

e ( a G , b H ) = e ( G , H ) a b

Test

$ cargo test