Programs to chapter 5 of book "Multivariate Public Key Cryptosystems" by Ding, Petzoldt and Schmidt
For generating the public and private keys use; load "keygen.txt"
To sign a (randomly generated) document: load "sign.txt";
To verify the signature: load "verify.txt";
If the characteristic is odd use: load "forge_odd.txt"; The program uses only the data in public_key.txt and a randomly generated document and shows that its signature would be accepted.
The program "forge_even.txt" for the case with even characteristic will be added later
Magma programs for the variants of the Hidden Field Equations. In order to run these programs use
load "keygen.txt";
load "encrypt.txt";
load "decrypt.txt";
A message is generated at random. Modify the program to use your own message and/or change the parameters in the file keygen.txt
Magma programs for the original Hidden Field Equations by Patarin To run these programs use
load "keygen.txt";
load "encrypt.txt";
load "decrypt.txt";
A message is generated at random. Modify the program to use your own message and/or change the parameters
Magma programs to chapter 4 of the book "Multivariate Public Key Cryptosystems" by Ding, Petzoldt and Schmidt
There are two attachments one for the original Hidden Field Equations (HFE) and the other for variants of it (HFEv)
Programs used and described in the book "Multivariate Public Key Cryptosystems" by Ding, Petzoldt and Schmidt. All programs can be downloaded via the attached zip file. Modify the file "startup.txt" so that the base directory matches your setup. Put this file where magma can find it.
After starting magma run: load "startup.txt"; It will then allow you to select the method on which you want to work.
Files can be downloaded individually by clicking on a chapter name and then selecting the scheme of interest.