Picocrypt/src
Evan Su 3dbb0622fd
Update to v1.12.1 with bug fixes
2021-04-11 22:26:06 -04:00
..
unstable v1.12.1 bug fix 2021-04-11 20:18:33 -04:00
Picocrypt.py Update to v1.12.1 with bug fixes 2021-04-11 22:26:06 -04:00
README.md Fixed formatting 2021-04-08 11:10:08 -04:00
reedsolo.zip Add files via upload 2021-03-24 10:02:06 -04:00
sdelete64.exe Add files via upload 2021-03-26 11:45:45 -04:00
tkinterdnd2.zip Add files via upload 2021-03-24 09:10:52 -04:00

README.md

Running from source

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 (you can download a zip file of the files above from the homepage). Now, install these dependencies via pip: argon2-cffi, pycryptodome, cython, reedsolo, and blake3. Make sure tkinter is installed on your platform. On Linux, you might have to sudo apt-get install python3-tk.

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. Go to there.

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 zip you extracted 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 and go into tkdnd/, and then go into your respective platform folder. Copy all the files there into the tclX.X directory from above.

Download reedsolo.zip from above, extract it, and go into the folder. Open up a terminal and python setup.py install. When that's finished, go into Build/ and then lib.XXXXXXX. You should now have a Python extension called creedsolo.pyd on Windows, creedsolo.so or creedsolo.dylib on MacOS, and creedsolo.so on Linux. Copy this file to the same directory where Picocrypt.py is.

If you on Windows, you will also need to download sdelete64.exe and put it in the same directory as Picocrypt.py.

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

External links