An easy-to-use python application to encrypt/decrypt your files or folders.
Use this program at your own risk. I am not responsible your data. Always keep a backup
I wanted to encrypt my SD cards so I modified my pylocker
project to support recursive encryption/decryption
To use this program you will require python
3.9 or higher
ℹ️ If you have previously used PyLocker and are updating after installing by running the below please review the Use section to update from your current config, if this is your first time using sdcrypt and have never used PyLocker you can safely ignore this message. ℹ️
Install with git
$ git clone https://github.com/tilas0/sdcrypt.git
$ cd sdcrypt
$ pip3 install -r requirements.txt
$ python3 main.py
Disclaimer: Dont ignore instructions when they guide you to ensure your files are encrypted as it can lead to irrecoverable data loss.
Clone the git repo and move your config folder into it. Then replace the old folder with the new one.
or
Run the following commands with git
installed in your sdcrypt
directory:
#Updates repo to latest version of sdcrypt.
$ git pull
#Installs needed requirements. If you're migrating from pylocker, you already have these installed, but its always a good idea to update your requirements as the cryptography module (only requirement) may have bug fixes and improvements in newer versions which is all the below installs to allow the program to function.
$ pip3 install -r requirements.txt
This will check the git repo for updates and install any new requirements if possible.
Ensure all files are in a decrypted state. Then delete the "hash" file located in the config directory.
Ensure all files are in a decrypted state. Then delete the "hash" and "salt" files located in the config directory. This will also reset your password.
The salt can be from sdcrypt or PyLocker if you're migrating, the programs are both compatible as sdcrypt is just a more advanced version of pylocker.
Create a "config" directory in the same location as pylocker. Then in that config directory create an extensionless file named "salt" and put the salt into that file.
- Cryptographically secure encryption/decryption, password hashing and salt generation
- Base64 salt so it can be written down or stored easily
- Any file or folder can be encrypted
- Recursive encryption
- File and folder name encryption/decryption
- Password input is not displayed
- Cross-platform support
Licensed under the MIT License