You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Naumkin Vladimir 3bdab827ff Version 2 1 month ago
..
McEliece.pdf Almost initial commit 8 months ago
McEliece_GUI.py global refactoring 7 months ago
McEliece_console.py Version 2 1 month ago
McEliece_console_v2.py Version 2 1 month ago
cryptosystem_core.py Version 2 1 month ago
cryptosystem_core_v2.py Version 2 1 month ago
icon.ico global refactoring 7 months ago
old_portable.py global refactoring 7 months ago
readme.txt Version 2 1 month ago

readme.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

McEliece cryptosystem implementation by vovuas2003

Required Python libraries: numpy, galois.

UPDATE: version 2 is available. Check cryptosystem_core_v2 and McEliece_console_v2.

All cryptosystem functions are implemented in cryptosystem_core.py, just import it into your project and enjoy!
For example, I coded a console menu (that works with text in txt files and also with any files in binary mode) and a GUI app (for text encryption).

It is possible to build portable exe with pyinstaller and run code on a computer that does not have Python installed.
But it is NOT compilation, so exe file will be quite large.

The pdf presentation in Russian contains a bit of theory about the Mceliece cryptosystem.
icon.ico is an optional file for pyinstaller
old_portable.py can support another order of galois field, but saves raw integers and does not specify utf-8 encoding for strings and txt files