登录 注册
其他
11,204
Stars
34
Forks
7
Watchers
1
Open Issues
AGPL-3.0
许可证
Solidity
语言
2025-03-19
创建时间
2026-11-09
最近更新

项目能做什么

实现抗量子哈希签名的 Solidity 智能合约。
来源:基于仓库元数据 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Hash-Based Solidity Verifier Implementations

Verifier-oriented Solidity implementations of hash-based signature
schemes: the WOTS+ one-time signature scheme and the SHRINCS hybrid
stateful/stateless construction.

The production contracts in [`contracts/`](./contracts/) cover on-chain
verification only. Signer-side recovery state, seed restore logic, and
wallet lifecycle management are out of scope; test-only Solidity signer
helpers live under [`test/helpers/`](./test/helpers/) and are not
deployable.

## Implementations

Citation keys follow [CODINGSTANDARDS.md §1](./CODINGSTANDARDS.md).

- **WOTS+** ([contracts/WOTSPlus.sol](./contracts/WOTSPlus.sol)) — the
  Winternitz one-time signature scheme `[WOTSPLUS]` (A. Hülsing,
  *W-OTS+: Shorter Signatures for Hash-Based Signature Schemes*,
  AFRICACRYPT 2013; <https://eprint.iacr.org/2017/965>). Keccak-256,
  32-byte hashes and messages, Winternitz parameter `w = 16`, 67 chains
  (64 message + 3 checksum). Standalone, with no SHRINCS dependency.
  The public API (`verify`, `verifyWithRandomizationElements`, `sign`,
  `generateKeyPair`, `generateRandomizationElements`, `chain`, and the
  public constants) is stable and vector-tested; the signer-side
  helpers are reference code, documented "do not use on-chain."
- **SHRINCS** ([contracts/SHRINCS.sol](./contracts/SHRINCS.sol) and its
  component libraries) — the hybrid stateful/stateless hash-based
  construction by Kudinov and Nick `[SHRINCS]`, specified in the
  appendix of *Hash-based Signature Schemes for Bitcoin*, Cryptology
  ePrint Archive 2025/2203 (<https://eprint.iacr.org/2025/2203>).
  Compiled per profile (see [Profiles](#profiles)):
  - `256s` (default) — keccak-256, 32-byte hashes, `h = 64`, `d = 8`,
    `a = 14`, `k = 22`, 64 WOTS-C chains, 2^20 stateless budget.
    Reviewed and anchored to Rust-generated signature vectors.
  - `128s-q18` (experimental) — 16-byte truncated hashes, single-layer `h = 18`
    hypertree, `a = 24`, `k = 6`, 32 WOTS-C chains, 2^18 stateless
    budget. Anchored to Rust-generated signature vectors; the stateless
    path is verified against them by `SHRINCSSphincs128sVectors`.
  - `128s-q20` (experimental) — as `128s-q18` with a 2^20 stateless budget; shares the
    128s vectors except the profile-bound commitment.
- **SPHINCS+C** ([contracts/SPHINCSPlusC.sol](./contracts/SPHINCSPlusC.sol))
  — the stateless SPHINCS+C construction `[SPHINCSPLUSC]` (M. Kudinov,
  A. Hülsing, E. Ronen, E. Yogev, *SPHINCS+C: Compressing SPHINCS+ With
  (Almost) No Cost*, Cryptology ePrint Archive 2022/778, IEEE S&P 2023;
  <https://eprint.iacr.org/2022/778>). SHRINCS uses it as the stateless
  recovery path: a `FORS-C` few-time signature carried up a hypertree of
  `WOTS-C` layers to the public root. Deployed per profile as
  `SPHINCSPlusC256sKeccak`, `SPHINCSPlusC128sQ18Keccak`, and
  `SPHINCSPlusC128sQ20Keccak`; each SHRINCS verifier delegates its
  stateless path to the matching profile sibling.

## What SHRINCS Is

SHRINC
阅读完整原文

项目深度分析 规则生成(AI 未配置)

综合评分 42.5 分。该项目在“个人可实施性”维度得 35 分,“付费可能性”维度得 20.0 分,差异化空间 70.0 分(评分依据见评分卡)。

面向细分需求的二次开发产品

产品构想基于 hashsigs-solidity 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。
目标用户该细分场景用户
难度/周期中 · 2~6 周
收费模式买断制 / 订阅制 / 广告
竞争风险细分需求规模需验证
依据 AI 推测:基于项目主题标签的判断
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2025-03-19,近 30 天仍在推送
社区活跃Star 11,204 / Fork 34 / Issue 1(数据支持,可自行核实)
许可证AGPL-3.0 商用需注意传染性条款
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。