Magma programs related to chapter 6 of the book by Ding, Petzoldt and Schmidt.. a 3-pass version and a 5-pass version is given. After downloading the files use
load "MQident3.txt";
or
load "MQident5.txt";
Magma programs related to SFLASH in chapter 3 of the book by Ding, Petzoldt and Schmidt. The program was inteneded for signing a document. To run this program in Magma use
load "keygen.txt";
load "sign.txt";
load "verify.txt";
A document is generated at random. Provide your own documentn and change the parameters.
Programs related to the perturbed Matsumoto Imai methods.
load "keygen.txt";
load "encrypt.txt";
load "decrypt.txt";
Feel free to change the parameters
Magma programs for the original method of Matsumoto-Imai. Download the files and then in Magma use
load "keygen.txt";
load "encrypt.txt";
load "decrypt.txt";
The first program will generate the files private_key.txt and public_key.txt.
With load "LinearizationEquations.txt";. the equations are produced to break this method.
Experiment by changing the parameters.