Pegwit

Pegwit is a program for performing public key encryption and authentication. It uses elliptic curves over GF(143), and a symmetric block cipher called square. It is free, you may do what you like with it, but if you make changes, please use a different name to avoid confusion. It is possible that using pegwit may infringe U.S. patents, I don't know.

pegwit.exe is a Windows 95 executable.

Run pegwit with no parameters to get help. Basically the -i option is used to create your public key, -e encrypts, -d decrypts, -s signs, -v verifies a signature.

If you can read zip files you can download all the sources by pressing here.

The source containing main is pegwit.cpp. The other sources are ncurve.hpp, ncurve.cpp, prime.hpp, prime.cpp, vlong.hpp, vlong.cpp, square.h square.c and square.tab

pegwit.cpp makes use of the standard "C" library (stdio.h, string.h,time.h) the other sources are pure C/C++.

You may wish to have batch files which actually invoke pegwit for private key operations, so that a good length pass phrase can be used. In you do this then the batch files could themselves be encrypted with a different (shorter) pass phrase. A utility to securely delete the batch file would be useful.

However the physical security of your computer is still important,since if it is not secure, an attacker can in principal modify the software to do anything at all.

If you port pegwit to other systems, please let me know.

Send mail to George at george.barwood@dial.pipex.com