Files
lcbp3.np-dms.work/frontend/node_modules/@noble/curves/nist.d.ts
2025-09-21 20:29:15 +07:00

21 lines
1.2 KiB
TypeScript

import { type CurveFnWithCreate } from './_shortw_utils.ts';
import { type H2CHasher } from './abstract/hash-to-curve.ts';
/** NIST P256 (aka secp256r1, prime256v1) curve, ECDSA and ECDH methods. */
export declare const p256: CurveFnWithCreate;
/** Hashing / encoding to p256 points / field. RFC 9380 methods. */
export declare const p256_hasher: H2CHasher<bigint>;
/** NIST P384 (aka secp384r1) curve, ECDSA and ECDH methods. */
export declare const p384: CurveFnWithCreate;
/** Hashing / encoding to p384 points / field. RFC 9380 methods. */
export declare const p384_hasher: H2CHasher<bigint>;
/** NIST P521 (aka secp521r1) curve, ECDSA and ECDH methods. */
export declare const p521: CurveFnWithCreate;
/** @deprecated use `p256` for consistency with `p256_hasher` */
export declare const secp256r1: typeof p256;
/** @deprecated use `p384` for consistency with `p384_hasher` */
export declare const secp384r1: typeof p384;
/** @deprecated use `p521` for consistency with `p521_hasher` */
export declare const secp521r1: typeof p521;
/** Hashing / encoding to p521 points / field. RFC 9380 methods. */
export declare const p521_hasher: H2CHasher<bigint>;
//# sourceMappingURL=nist.d.ts.map