Skip to content

BlockstreamResearch/shrincs-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHRINCS

C++ implementation of the SHRINCS post-quantum signature scheme.

⚠️ This project is a work in progress and is provided as-is for research, learning, and experimentation. It is not production-ready and has not undergone a formal security audit, code review, or verification process. This library may be incorrect, incomplete, or insecure.

Requirements

Before building, run:

Linux:

sudo apt update
sudo apt install libgtest-dev libssl-dev build-essential

macOS:

brew install googletest openssl

Building & Testing

make build     # Build libshrincs.a
make test      # Run GTest suite
make benchmark # Run performance benchmarks

Usage

To integrate SHRINCS into your project, include the headers and library (copy include directory and compiled libshrincs.a to your project):

Example

See example here

Compilation command:

g++ main.cpp -I./include -L. -lshrincs -lssl -lcrypto -o my_app

Then run:

./my_app

About

SHRINCS. A stateful hash-based signature with a stateless fallback

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors