2024-04-18 15:59:22 +03:00
|
|
|
McEliece cryptosystem implementation by vovuas2003
|
2024-04-11 12:25:02 +03:00
|
|
|
|
2024-04-21 16:29:03 +03:00
|
|
|
Required Python libraries: numpy, galois.
|
2024-04-16 23:36:59 +03:00
|
|
|
|
2024-10-18 01:45:41 +03:00
|
|
|
UPDATE: version 2 is available. Check cryptosystem_core_v2 and McEliece_console_v2.
|
|
|
|
|
2024-04-21 16:29:03 +03:00
|
|
|
All cryptosystem functions are implemented in cryptosystem_core.py, just import it into your project and enjoy!
|
2024-04-24 22:51:54 +03:00
|
|
|
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).
|
2024-04-11 12:25:02 +03:00
|
|
|
|
2024-04-21 16:29:03 +03:00
|
|
|
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.
|
2024-04-11 12:25:02 +03:00
|
|
|
|
2024-04-21 16:29:03 +03:00
|
|
|
The pdf presentation in Russian contains a bit of theory about the Mceliece cryptosystem.
|
|
|
|
icon.ico is an optional file for pyinstaller
|
2024-10-18 01:45:41 +03:00
|
|
|
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
|