Files
salvium-rs/node_modules/@noble/curves/misc.d.ts
T
Matt Hess 2c128eb1c0 Add Bulletproofs+ range proof verification (pure JavaScript)
- Implement BP+ verification using @noble/curves for Ed25519 ops
  - MSM 256 points in ~420ms - mobile-friendly, no WASM needed
  - Add verifyBulletproofPlus, verifyBulletproofPlusBatch, verifyRangeProof
  - Add generator initialization with caching (Gi, Hi points)
  - 24 new tests including performance benchmarks
  - Update exports in index.js and package.json
  - Bump version to 0.3.0
2026-01-15 02:09:51 +00:00

15 lines
862 B
TypeScript

import { type EdDSA, type EdwardsPoint } from './abstract/edwards.ts';
import { type ECDSA } from './abstract/weierstrass.ts';
/** Curve over scalar field of bls12-381. jubjub Fp = bls n */
export declare const jubjub: EdDSA;
/** Curve over scalar field of bn254. babyjubjub Fp = bn254 n */
export declare const babyjubjub: EdDSA;
export declare function jubjub_groupHash(tag: Uint8Array, personalization: Uint8Array): EdwardsPoint;
export declare function jubjub_findGroupHash(m: Uint8Array, personalization: Uint8Array): EdwardsPoint;
/** Brainpool P256r1 with sha256, from RFC 5639. */
export declare const brainpoolP256r1: ECDSA;
/** Brainpool P384r1 with sha384, from RFC 5639. */
export declare const brainpoolP384r1: ECDSA;
/** Brainpool P521r1 with sha512, from RFC 5639. */
export declare const brainpoolP512r1: ECDSA;
//# sourceMappingURL=misc.d.ts.map