PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/viem/node_modules/@noble/curves/src

Просмотр файла: p521.ts

/**
 * NIST secp521r1 aka p521.
 * @module
 */
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
import { type HTFMethod } from './abstract/hash-to-curve.ts';
import { p521_hasher, p521 as p521n } from './nist.ts';
export const p521: typeof p521n = p521n;
export const secp521r1: typeof p521n = p521n;
export const hashToCurve: HTFMethod<bigint> = /* @__PURE__ */ (() => p521_hasher.hashToCurve)();
export const encodeToCurve: HTFMethod<bigint> = /* @__PURE__ */ (() => p521_hasher.encodeToCurve)();

Выполнить команду


Для локальной разработки. Не используйте в интернете!