UNPKG

noble-curves-simple

Version:

Pure JavaScript ES modules version of @noble/curves - Audited & minimal JS implementation of elliptic curve cryptography

6 lines (5 loc) 275 B
import { p521_hasher, p521 as p521n } from './nist.js'; export const p521 = p521n; export const secp521r1 = p521n; export const hashToCurve = /* @__PURE__ */ (() => p521_hasher.hashToCurve)(); export const encodeToCurve = /* @__PURE__ */ (() => p521_hasher.encodeToCurve)();