UNPKG

@noble/curves

Version:

Audited & minimal JS implementation of elliptic curve cryptography

19 lines 804 B
/** * Audited & minimal JS implementation of elliptic curve cryptography. * @module * @example ```js import { secp256k1, schnorr } from '@noble/curves/secp256k1'; import { ed25519, ed25519ph, ed25519ctx, x25519, RistrettoPoint } from '@noble/curves/ed25519'; import { ed448, ed448ph, ed448ctx, x448 } from '@noble/curves/ed448'; import { p256 } from '@noble/curves/p256'; import { p384 } from '@noble/curves/p384'; import { p521 } from '@noble/curves/p521'; import { bls12_381 } from '@noble/curves/bls12-381'; import { bn254 } from '@noble/curves/bn254'; import { bytesToHex, hexToBytes, concatBytes, utf8ToBytes } from '@noble/curves/abstract/utils'; ``` */ throw new Error('root module cannot be imported: import submodules instead. Check out README'); export {}; //# sourceMappingURL=index.js.map