Skip to content

QuipNetwork/hashsigs-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hashsigs-cpp

A C++ implementation of WOTS+ (Winternitz One-Time Signature) scheme.

Building

To build the library:

mkdir build
cd build
cmake ..
make

For release build:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Testing

Run all tests:

cd build
make test

Or run the test executable directly:

./tests/wotsplus_test

For test output and backtrace:

GTEST_COLOR=1 ./tests/wotsplus_test --gtest_color=yes

Development Requirements

  • CMake 3.10 or higher
  • C++17 or higher
  • Google Test
  • nlohmann/json

Project Structure

.
├── include/       # Header files
│   ├── constants.hpp
│   ├── public_key.hpp
│   └── wotsplus.hpp
├── src/          # Implementation files
│   ├── keccak.cpp
│   └── wotsplus.cpp
└── tests/        # Test vectors and unit tests
    ├── wotsplus_test.cpp
    └── test_vectors/

License

AGPL-3.0, see COPYING

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published