ffjavascript/main.js
2020-09-24 19:08:48 +02:00

25 lines
766 B
JavaScript

import * as _Scalar from "./src/scalar.js";
export const Scalar=_Scalar;
export {default as PolField} from "./src/polfield.js";
export {default as F1Field} from "./src/f1field.js";
export {default as F2Field} from "./src/f2field.js";
export {default as F3Field} from "./src/f3field.js";
export {default as ZqField} from "./src/f1field.js";
export {default as EC} from "./src/ec.js";
export {default as buildBn128} from "./src/bn128.js";
export {default as buildBls12381} from "./src/bls12381.js";
import * as _utils from "./src/utils.js";
export const utils = _utils;
export {default as ChaCha} from "./src/chacha.js";
export {default as BigBuffer} from "./src/bigbuffer.js";
export {getCurveFromR, getCurveFromQ, getCurveFromName} from "./src/curves.js";