Skip to content

spff/schnorr-signature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

schnorr-signature

This program is written in C++11, can sign or verify files using Schnorr_Signature. Interactive mode(rather than passing arguement) is recommended, this can get full advantage of Schnorr algorithm , which is able to pre-generate keys. This program has one thread for key generating, and one another for signing or verifing.

Dependencies

openssl & GMP6.0

Issue about GMP

when installing gmp, cxx should be enabled, as below ./configure --enable-cxx

If your lib is installed under /usr/local/lib, one possible way is to create etc/ld.so.conf.d/gmp.conf, add "/usr/local/lib" in it, then run ldconfig.

Go Through the program

Edit MAXSAVEDKEY for the limit of pairs of key to genarate and put in the keyqueue for use. This program implements Hash using SHA-256, so set QLength = 256

About

for information security course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •