Skip to content

v2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Mar 18:24

2.0.0 (2026-03-30)

  • fix!: harden crypto primitives, remove phantom dependencies (5fdfa44)

BREAKING CHANGES

  • hashToScalar now length-prefixes each part before
    concatenation, preventing ambiguous input collisions. Existing proofs
    will not verify with this version.
  • hexToScalar rejects non-canonical scalars >= curve order N
  • hashToScalar adds 4-byte big-endian length prefix per part
  • Remove circular self-dependency (@forgesworn/range-proof)
  • Remove phantom @forgesworn/ring-sig dependency
  • Restore accidentally deleted src/range-proof.ts