Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

hashsigs-rs

A Rust implementation of WOTS+ (Winternitz One-Time Signature) scheme, with Solana program support.

Building

To build the library:

cargo build

For release build:

cargo build --release

To build the Solana program:

cd solana cargo build-sbf

Testing

Run all tests:

cargo test

Run specific test vectors:

cargo test test_wotsplus_keccak256_vectors

Run Solana program tests:

cd solana cargo test-sbf

For test output and backtrace:

RUST_BACKTRACE=1 cargo test-sbf -- --nocapture 2>&1

Show compute units only:

RUST_BACKTRACE=1 cargo test-sbf -- --nocapture 2>&1 | grep "compute units:"

Development Requirements

NOTE: if on Mac, do not use brew to install rust and instead use https://www.rust-lang.org/tools/install

Project Structure

.
├── src/           # Core WOTS+ implementation
├── solana/        # Solana program implementation
└── tests/         # Test vectors and unit tests

License

AGPL-3.0, see COPYING

关于 About

Hash-based post quantum signatures in Rust

语言 Languages

Rust100.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
20
Total Commits
峰值: 9次/周
Less
More

核心贡献者 Contributors