1
0
mirror of https://github.com/HACKERALERT/Picocrypt.git synced 2024-12-18 23:12:48 +01:00
Picocrypt/src
2021-03-21 22:44:31 -04:00
..
unstable Update Picocrypt.py 2021-03-21 22:44:31 -04:00
Picocrypt.py (v1.10) Fixed Crypto.Hash bug 2021-03-18 22:26:52 -04:00
README.md Update about Reed-Solomon 2021-03-16 14:54:41 -04:00

Instructions

Picocrypt is written to be cross-platform, so you should be able to run the raw Python file on your OS without any issues. Picocrypt's dependencies will be automatically installed via pip, which will usually work without any issues. If Picocrypt can't automatically install dependencies, install these dependencies via pip manually: argon2-cffi, pycryptodome, and reedsolo.

A note about reedsolo

Picocrypt can use the raw reedsolo Python module by itself, but it is very slow because it's written in pure Python. It is recommended to compile a Python extension (.pyd/.so) for reedsolo, and name it creedsolo (ie. creedsolo.pyd or creedsolo.so). Make sure to include the extension in the same directory as Picocrypt.py. See here for instructions on building the extension. The Windows executable already bundles creedsolo.pyd, but for Linux or MacOS, you'll have to build the Python extension yourself if you want better speeds. Building the extension is not necessary if you don't intend on using the Reed-Solomon feature a lot, or if you are okay with slow Reed-Solomon speeds. Picocrypt will work just fine without the extension and just the way it is.

External links

Here are the Github links of the dependencies of Picocrypt, if you are curious or want to audit them: