UNPKG

@noble/curves

Version:

Audited & minimal JS implementation of elliptic curve cryptography

12 lines 471 B
/** * NIST secp256r1 aka p256. * @module */ /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */ import {} from "./abstract/hash-to-curve.js"; import { p256_hasher, p256 as p256n } from "./nist.js"; export const p256 = p256n; export const secp256r1 = p256n; export const hashToCurve = /* @__PURE__ */ (() => p256_hasher.hashToCurve)(); export const encodeToCurve = /* @__PURE__ */ (() => p256_hasher.encodeToCurve)(); //# sourceMappingURL=p256.js.map