Picocrypt/src
2021-03-24 09:39:22 -04:00
..
unstable Update README.md 2021-03-23 22:34:14 -04:00
Picocrypt.py v1.11 2021-03-23 20:02:00 -04:00
README.md Added instructions to run from source 2021-03-24 09:39:22 -04:00
tkinterdnd2.zip Add files via upload 2021-03-24 09:10:52 -04:00

Instructions For Running Manually

If you want to run from source or would like to use Picocrypt on any platform that supports Python, you're in the right place. To run Picocrypt from source, first make sure you have Python3 installed (any version >3.6 will do). Then, download Picocrypt.py from above. Now, install these dependencies via pip: argon2-cffi, pycryptodome, reedsolo, and cython.

Next, download tkinterdnd2.zip from above. Extract it and go into it. Inside, you'll see two Python files and a directory called tkdnd.

Now, find the directory where Python is installed. On Windows, for example, this folder would probably be here: C:\Users(Your username)\AppData\Local\Programs\Python\PythonXX.

Now, go into Lib/ and then site-packages. Create a folder named tkinterdnd2. Go into there and copy init.py and TkinterDnD.py from the folder you extracted (tkinterdnd2) earlier to here.

Next, go back to the directory where Python is installed. Go into tcl/ and then tclX.X. Go into the same folder you extracted earlier (tkinterdnd2) and go into tkdnd/, and then go into your respective platform folder. Copy all the files there into the tclX.X directory you just went into.

Finally, download reedsolo.zip from above, extract it, and go into the folder. Open up a terminal and python setup.py install. Then, python setup.py install --native-compile. Now you should now have a Python extension called reedsolo.pyd on Windows, reedsolo.so or reedsolo.dylib on MacOS, and reedsolo.so on Linux. Copy this file to the same directory where Picocrypt.py is.

Now you're all good. Just python3 Picocrypt.py and enjoy!

External links

  • Argon2-cffi: https://github.com/hynek/argon2-cffi
  • Pycryptodome: https://github.com/Legrandin/pycryptodome
  • ReedSolo: https://github.com/tomerfiliba/reedsolomon