No description
Find a file
2024-10-18 11:41:44 +03:00
cryptosystem_core.py fix: Подкорректировал работу с исключениями 2024-10-18 11:41:44 +03:00
Dockerfile feat: Добавил Dockerfile, изменил структуру 2024-10-18 00:49:36 +03:00
McEliece_console.py fix: Подкорректировал работу с исключениями 2024-10-18 11:41:44 +03:00
McEliece_tests.py feat: Вынес тесты в отдельный файл 2024-10-18 11:27:57 +03:00
README.md feat: Добавил Dockerfile, изменил структуру 2024-10-18 00:49:36 +03:00
requirements.txt feat: Добавил Dockerfile, изменил структуру 2024-10-18 00:49:36 +03:00

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