Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type BLS12_381_Scalar = 52435875175126190479447740508185965837690552500527637822603658699938581184513
- type BLS12_381_Base = 4002409555221667393417789825735904156556882819939007885332058136124031650490837864442687629129015664037894272559787
- type Fr = Zp BLS12_381_Scalar
- type Fq = Zp BLS12_381_Base
- type IP1 = "IP1"
- type Fq2 = Ext2 Fq IP1
- type IP2 = "IP2"
- type Fq6 = Ext3 Fq2 IP2
- type IP3 = "IP3"
- type Fq12 = Ext2 Fq6 IP3
- data BLS12_381_G1
- data BLS12_381_G2
- leBytesOf :: Natural -> [(Natural, Word8)]
- bytesOf :: (ToConstant a, Const a ~ Natural) => Int -> a -> [Word8]
- ofBytes :: FromConstant Natural a => [Word8] -> a
- newtype BLS12_381_GT = BLS12_381_GT Fq12
Documentation
type BLS12_381_Scalar = 52435875175126190479447740508185965837690552500527637822603658699938581184513 Source #
type BLS12_381_Base = 4002409555221667393417789825735904156556882819939007885332058136124031650490837864442687629129015664037894272559787 Source #
type Fr = Zp BLS12_381_Scalar Source #
type Fq = Zp BLS12_381_Base Source #
data BLS12_381_G1 Source #
Instances
data BLS12_381_G2 Source #
Instances
newtype BLS12_381_GT Source #
An image of a pairing is a cyclic multiplicative subgroup of
of order Fq12
.BLS12_381_Scalar