Picocrypt/src
Evan Su 3b223850b6
Updated to v1.9
Picocrypt 1.9 will be released soon.
2021-03-16 15:07:25 -04:00
..
Picocrypt.py Updated to v1.9 2021-03-16 15:07:25 -04:00
README.md Update about Reed-Solomon 2021-03-16 14:54:41 -04:00

README.md

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: