Skip to content

A program that encrypt and decrypt any file with password using AES256-CBC, via PyAesCrypt

Notifications You must be signed in to change notification settings

pedropamn/simplecrypt

Repository files navigation


SimpleCrypt

Protect your files encrypting them with password, on Windows and Linux!


. Report a Bug · Suggest a feature

About the project

SimpleCrypt is a simple program that encrypt and decrypt any file with password using AES256-CBC, via PyAesCrypt. You can encrypt a file or a entire folder with a password and protect your important ones!



(back to top)

Installation

GUI:

CLI:

  • Download simplecrypt-cli.py and run python3 simplecrypt-cli.py [--encrypt | --decrypt] /path/to/file_or_folder

    For example: python3 simplecrypt-cli.py --encrypt /home/user/file.txt (You'll be asked for password next)

Built with

(back to top)

Roadmap

  • CLI version
  • Make it Installable
  • Cloud Storage
  • Stats
  • New Algorithms
  • Increase compatibility (see Compatibility Notes below)

(back to top)

Compatibility notes (for GUI)

    • Tested on Windows 10 and Windows 11. Not tested on 8 and 8.1, but it should work too. Windows 7 is not compatible (should not work on earlier versions)
    • Tested and builded on Ubuntu 22.04.2. This system comes with glibc 2.35 and it was required by the executable when testing on other machines (Ubuntu 20.04 and Kali Linux 2021.4a). So, should work fine on system containing this library, for example:
      • Ubuntu 21.10+
      • Fedora 35+
      • Arch Linux (rolling release)

    Glibc version can be checked by ldd --version command

(back to top)

Contribute

  • If you are a developer and would like to contribute, install all dependencies in requeriments.txt, via

    pip install -r requeriments.txt

  • GUI is made entirely with PyQt5 and Qt Designer. You can edit the .ui files using it. After each change, remember to regenerate .py files. For example, after editing main.ui:

    pyuic5 -x main.ui -o main.py

    After it, comment the line #import resource_rc (it's already imported on start.py)

  • Thestart.py is the main file and simplecrypt.py is the script that encrypt and decrypt files.

  • PyInstaller is a good option to create a executable files. You can install it via pip

    pip install PyInstaller

  • To create executable file, run pyinstaller --onefile --windowed --icon=padlock.ico start.py

To contribute with a Pull Request:

  1. Fork
  2. Create a Branch of the feature (git checkout -b feature/AmazingFeature)
  3. Commit (git commit -m 'Add some AmazingFeature')
  4. Push (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

[email protected]

(back to top)

About

A program that encrypt and decrypt any file with password using AES256-CBC, via PyAesCrypt

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages