16 lines
769 B
JavaScript
16 lines
769 B
JavaScript
/**
|
|
* NIST secp521r1 aka p521.
|
|
* @module
|
|
*/
|
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
import {} from "./abstract/hash-to-curve.js";
|
|
import { p521_hasher, p521 as p521n } from "./nist.js";
|
|
/** @deprecated use `import { p521 } from '@noble/curves/nist.js';` */
|
|
export const p521 = p521n;
|
|
/** @deprecated use `import { p521 } from '@noble/curves/nist.js';` */
|
|
export const secp521r1 = p521n;
|
|
/** @deprecated use `import { p521_hasher } from '@noble/curves/nist.js';` */
|
|
export const hashToCurve = /* @__PURE__ */ (() => p521_hasher.hashToCurve)();
|
|
/** @deprecated use `import { p521_hasher } from '@noble/curves/nist.js';` */
|
|
export const encodeToCurve = /* @__PURE__ */ (() => p521_hasher.encodeToCurve)();
|
|
//# sourceMappingURL=p521.js.map
|