Magma programs to chapter 7 pf the book "Multivariate Public Key Cryptosystems" by Ding, Petzoldt and Schmidt using the rectangular simple matrix scheme.
load "keygen.txt" will generate the file public_key.txt and private_key.txt
load "encrypt.txt"; will generate the file "ciphertexrt.txt" by encrypting a randomly generated file
load "decrypt.txt" will then decrypt that file.
Magma programs to the book "Multivariate Public Key Cryptosystems" by Ding, Petzoldt and Schmidt using the simple ABC scheme.
load "keygen.txt"; will generate the public and private keys in the files public_key.txt and private_key.txt
load "encrypt.txt"; will encrypt a randomly generated text and put the result into ciphertext.txt
load "decrypt.txt"; will decrypt that file
Programs to chapter 7 of the book "Multivariate Public Key Cryptosystems" by Ding, Petzoldt and Schmidt.
Two methods are attached, one for the standard ABC method, the other for the rectangular ABC method
Magma programs to chapter 5 of the book "Multivariate Public Key Cryptosystems" by Ding, Petzoldt and Schmidt.
For the rainbow cryptosystems
load "keygen.txt'; will generate the files public_key.txt and private_key.txt, which are then used via
load "sign.txt"; to genertate the signature of a randomly generated document, and by
load "verify.txt"; to chack that it is a valid signature
Magma programs to chapter 5 of the book "Multivariate Public Key Cryptosystems" by Ding, Petzoldt and Schmidt.
load "keygen.txt" ; wiil generate the files public_key.txt and private_key.txt.
load "sign.txt" ; will use the file private_key.txt to sign a randomly generated text and will deposit the signture in the file signature.txt
load "veryfy.txt"; will use the file public_key.txt and determine if the signature is valid.
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)