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
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.