Skip to content
/ SPNsig Public

Demonstration of the signature scheme from the paper: Pavol Zajac: Code-based signature scheme derived from a MRHS representation of an AES encryption. Central European Conference on Cryptology 2019.

Notifications You must be signed in to change notification settings

zajacpa/SPNsig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

SPN signature scheme

Demonstration of the signature scheme from the paper:

Pavol Zajac: Code-based signature scheme derived from a MRHS representation of an AES encryption. Central European Conference on Cryptology 2019.

Use from SAGE command line:

load('spnsign.sage')

key = randint(0, 0xffff)
pi  = Permutations(12).random_element()

PK = getPK(key, pi)

msg = randint(0, 0xffff)
sig = getSignature(msg, key, pi)

verify(sig, PK) == 0

sig[0] = 15 - sig[0]
verify(sig,PK) == 0

About

Demonstration of the signature scheme from the paper: Pavol Zajac: Code-based signature scheme derived from a MRHS representation of an AES encryption. Central European Conference on Cryptology 2019.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages