mcl-wasm
Version:
mcl ; A portable and fast pairing-based cryptography library for Node.js by WebAssembly
36 lines (35 loc) • 1.28 kB
TypeScript
export declare enum CurveType {
BN254 = 0,
BN_SNARK1 = 4,
BLS12_381 = 5,
BLS12_377 = 8,
SECP224K1 = 101,
SECP256K1 = 102,
SECP384R1 = 102,
NIST_P192 = 105,
NIST_P224 = 106,
NIST_P256 = 107
}
export declare const BN254 = CurveType.BN254;
export declare const BN381_1 = 1;
export declare const BN381_2 = 2;
export declare const BN462 = 3;
export declare const BN_SNARK1 = CurveType.BN_SNARK1;
export declare const BLS12_381 = CurveType.BLS12_381;
export declare const BLS12_377 = CurveType.BLS12_377;
export declare const SECP224K1 = CurveType.SECP224K1;
export declare const SECP256K1 = CurveType.SECP256K1;
export declare const SECP384R1 = 103;
export declare const NIST_P192 = CurveType.NIST_P192;
export declare const NIST_P224 = CurveType.NIST_P224;
export declare const NIST_P256 = CurveType.NIST_P256;
export declare const IRTF = 5;
export declare const EC_PROJ = 1024;
export declare const MCLBN_FP_UNIT_SIZE = 6;
export declare const MCLBN_FR_UNIT_SIZE = 4;
export declare const MCLBN_COMPILED_TIME_VAR: number;
export declare const MCLBN_FP_SIZE: number;
export declare const MCLBN_FR_SIZE: number;
export declare const MCLBN_G1_SIZE: number;
export declare const MCLBN_G2_SIZE: number;
export declare const MCLBN_GT_SIZE: number;