Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darkceptor44/cipher-py
Encryption/Decryption utility for .txt files
https://github.com/darkceptor44/cipher-py
Last synced: about 2 months ago
JSON representation
Encryption/Decryption utility for .txt files
- Host: GitHub
- URL: https://github.com/darkceptor44/cipher-py
- Owner: DarkCeptor44
- License: mit
- Created: 2019-11-11T20:05:07.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-30T12:45:32.000Z (almost 2 years ago)
- Last Synced: 2024-06-16T00:33:38.300Z (7 months ago)
- Language: Python
- Size: 6.92 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Disclaimer: This is not the most secure tool on the planet, it's simply a personal project for passing time and probably won't work against an actual attacker with bad intentions.
# Cipher
Encrypts and Decrypts any `.txt` file in the current directory when a password is provided (unless the names of the files are specified in the `EXCEPTIONS` array).
Useful to hide text from people with either physical or remote access to your machine (as long as they're not actual attackers), you can use for diaries (just an example).## How to use
1. Download `cipher.py` to your machine.
2. Open a command prompt on the directory where `cipher.py` is:
3. Type `python` , press Enter, type `import os; os.urandom(16)` , press Enter and copy the line that shows up (it looks like `b'xxxxxxxxxxxxxxxxxxx'` )
4. Open `cipher.py` and look for line 8 where it says `SALT = b'xxxxxxxxxxxxxxx'` , then just paste that line you copied after the `=` .
5. Save it and run it to encrypt the `.txt` files that are in the same directory.## Notes
* You can use any password on encryption but if you try to decrypt with a different password than you used it's gonna give an error.
* I recommend use of [auto-py-to-exe](https://github.com/brentvollebregt/auto-py-to-exe) to compile `.py` in `.exe` which makes it harder for someone to see the code.## Download
If you don't care about the security of generating your own salt then you can download a version that comes with a pre-generated salt, links are on the [Releases](https://github.com/DarkCeptor44/cipher/releases) tab.
### This script is meant for less tech-savvy people as it's not highly advanced but can be modified to whatever you need