hashsigs-ts
Hash-based signatures in typescript, WOTS+
A TypeScript and JavaScript library for creating digital signatures that are designed to remain secure against quantum computers. Install from npm and use WOTS+ signing in any browser or Node.js project.
Hashsigs-ts is a TypeScript library that implements a type of cryptographic signing called WOTS+, which stands for Winternitz One-Time Signature Plus. Digital signatures are a way to prove that a piece of data was produced by a specific party and has not been changed. Most signing systems today rely on the mathematics of elliptic curves or large number factoring, but hash-based signatures like WOTS+ rely only on hash functions, which are considered resistant to attacks from quantum computers.
The library is published to the npm registry, so it can be added to any TypeScript or JavaScript project with a single install command. It is built from source using standard TypeScript tooling, and the repository includes a watch mode for active development.
The project uses Vitest for testing and enforces minimum coverage thresholds of 80% across functions, branches, and statements. Coverage reports can be generated in HTML, JSON, and LCOV formats. The LCOV output is intended for integration with continuous integration systems.
The README is brief and does not include usage examples or API documentation beyond installation and build commands. The library appears to be an early or specialized release, and the star count likely reflects interest in post-quantum cryptography tooling rather than broad adoption. It is released under the GNU Affero General Public License version 3, which requires that source code be shared when the software is used to provide a network service.
Where it fits
- Add quantum-resistant digital signatures to a TypeScript or JavaScript project by installing from npm
- Verify post-quantum WOTS+ signatures inside a browser app or Node.js backend without any native dependencies
- Integrate hash-based signing into a web3 project that needs long-term cryptographic security against quantum attacks