@celo/utils"node_modules/bls12377js/src/g1"G1

Class: G1

Hierarchy

  • G1

Implements

Index

Methods

Methods

add

add(p2: G1): G1

Defined in node_modules/bls12377js/src/g1.ts:22

Parameters:

Name Type
p2 G1

Returns: G1


dbl

dbl(): G1

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g1.ts:29

Returns: G1


equals

equals(p2: G1): boolean

Defined in node_modules/bls12377js/src/g1.ts:44

Parameters:

Name Type
p2 G1

Returns: boolean


negate

negate(): G1

Defined in node_modules/bls12377js/src/g1.ts:48

Returns: G1


scalarMult

scalarMult(s: BigInteger): G1

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g1.ts:36

Parameters:

Name Type
s BigInteger

Returns: G1


toAffine

toAffine(): G1

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g1.ts:56

Returns: G1


toString

toString(base?: undefined | number): string

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g1.ts:74

Parameters:

Name Type
base? undefined | number

Returns: string


x

x(): F

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g1.ts:62

Returns: F


y

y(): F

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g1.ts:66

Returns: F


z

z(): F

Implementation of GroupSpec

Defined in node_modules/bls12377js/src/g1.ts:70

Returns: F


Static fromElements

fromElements(x: F, y: F): G1

Defined in node_modules/bls12377js/src/g1.ts:16

Parameters:

Name Type
x F
y F

Returns: G1