The Picnic signature scheme is a family of digital signature schemes secure against attacks by quantum computers. This is a reference implementation of these schemes. The scheme and parameter sets are specified in the Picnic Specification Document.
A research paper describing the signature scheme is also available.
Post-Quantum Zero-Knowledge and Signatures from Symmetric-Key Primitives
Melissa Chase and David Derler and Steven Goldfeder and Claudio Orlandi and
Sebastian Ramacher and Christian Rechberger and Daniel Slamanig and Greg
Zaverucha.
In Proceedings of ACM CCS 2017.
Cryptology ePrint Archive: Report 2017/279
http://eprint.iacr.org/2017/279
The library is provided under the MIT License. The authors are Steven Goldfeder and Greg Zaverucha.
The library builds a static library. The public API surface is defined in picnic.h.
Tested on Ubuntu Linux, and the Windows Subsystem for Linux on Windows 10 (build 1709).
-
make
This will build the project.make debug
will build with symbols and address sanitizer. -
./example
Runs an example program that exercises the keygen, sign, verify and serialization APIs. See example.c.
Tested on Windows 10 with Visual Studio 2017.
Open the solution in VisualStudio\picnic.sln
, and build the projects.
The project libpicnic
creates a .lib
file, containing the functions defined in picnic.h
.
See the example
project for a simple application that calls functions in
Thanks to Christian Paquin for providing feedback on picnic.h and for adding support for a Windows build
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.