Cross-Platform tool for de-/encrypting strings, files and sock-streams. Still in development
Project description
Ghost
About
Ghost is a tool based on Python, that can encrypt or decrypt text-files, strings and sock-streams. In the base implementation it contains the core classes and functions for the de-/encryption of strings and files and additional an encrypted chat-system.
Encryption
Ghost uses a simple but secure encryption, which decrypts a string with a given or random key to non-readable cypher text. This text can be decrypted with the cypher text itself, the key, and the char-list used for encryption. It can decode the usual utf-8 signs, but be aware that other signs like "ß" or "©" will be skipped in the encryption. A randomly generated key with 60 signs and the default 93 possible default-chars has 93^60 possible positions and would take a lot more than 5*10^14 years to crack. Because of this, the encryption is with a random key probably uncrackable.
How to use
You can install the phantom package with pip install ghost-encrypt
. This contains how mentioned above, the functions
and classes for the de-/encryption of strings, text-files and sock-streams, as well as the arg-parser
package. The
tool can be integrated, but it works as standalone, too. Just type ghost --help
or if that doesn't work
py -m ghost --help
to get a list and an interface to execute the commands.
Usage examples
I personally use that script to de-/encrypt my passwords file and sometimes for chatting with my friends
(Encryption can be removed by passing 'a' as the key). It is also very useful when u are storing data for
a game that shouldn't be modified or for decrypting passwords on a backend.
Look at the example files or at __main__.py
to see some usages.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ghost-encrypt-1.0.6.tar.gz
.
File metadata
- Download URL: ghost-encrypt-1.0.6.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3afea395c70036e3fa86dabf7b7fdbab89b491c247324e5a5072ced7f246bf8 |
|
MD5 | dde2f75ed48598d88b0ff82eae78de92 |
|
BLAKE2b-256 | 17e2bbe7f28d576fccb7b075bc3872492829a06d661d12e836b26fdd4e759612 |
File details
Details for the file ghost_encrypt-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: ghost_encrypt-1.0.6-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9036576a84203ea759c1aa4ef8f4fe0569233a71cc8fc420fb2bfaa8e339f4f |
|
MD5 | f8e1c26764da2e3432a017db7453914e |
|
BLAKE2b-256 | 72d7608088c0d3cafb7991e16dd872214bade8a42e25cd652c9d1f92475a20f3 |