@dedis/kyber
Version:
A typescript implementation of Kyber interfaces
14 lines (13 loc) • 494 B
TypeScript
import { Group } from "..";
import edwards25519 from "./edwards25519";
import nist from "./nist";
/**
* availableCurves returns all the curves currently implemented as an array of string
*/
export declare function availableCurves(): string[];
/**
* newCurve returns a new curve from its name. The name must be in the list returned by `availableCurves()`.
* @throws {Error} if the name is not known.
*/
export declare function newCurve(name: string): Group;
export { nist, edwards25519, };