Hencoder
Hencoder is a simple encoder based on greedy algorithim Huffman encoding.
pip install Hencoder
This package can be used to:
- Encode/Decode any given text
- Encode/Decode any given file.
This file can be
- Any plain text file.
- Source code along with indentations.
- Any other text that is readable by python.
What's Great about Hencoder ? :star2:
Hencoder makes sure that nobody else can decode your text other than you. :superhero:
Hencoder provides a feature to encode your input using a secret key.
This secret key ensures that no-one else can decode your encoded text until they know the key used for encoding the text.
This secret key gets added to your original text, therefore correct decoding is only possible when the user enters the same key that was used while encoding.
This key can be any value in range of key = 1-100 .
Geek fact:
You can super encode your already encoded file with another key to make it even more difficult for someone to crack it.
How to Use Hencoder ? :book:
It's as smooth as butter.
- Encoding/Decoding can be done in 2 ways:
- Encoding/Decoding a text
- Encoding/Decoding a file
Hencoder.encode(text="", key=0, path=None, inplace=False)
Hencoder.decode(text="", key=0, path=None, inplace=False)
* text: Text that needs to be encoded.
{Default=''} {Optional}
* key: Encoding: Secure your data by adding a secret value.
Decoding: When decoding, you need to enter same key.
{Default=0} {Optional}
* path: If want to convert any file, enter its complete path.
{Default=None} (Optional)
* inplace: When coverting file, modify file inplace.
{Default= False} (Optional)
Metadata
Release files for Hencoder 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Hencoder-1.0.0.tar.gz | 3.1 kB | Without provenance | Details for Hencoder-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Hencoder-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for Hencoder-1.0.0-py3-none-any.whl |
Total release size: 7.4 kB
Release files / Hencoder-1.0.0.tar.gz
| Download URL | Hencoder-1.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca12c18e3d274e8feba51cfa57ea44113430aca1a3785a0e1ac127b415280fcc
|
|
BLAKE2b-256 checksum How to use checksums |
44de908bdd4d6b915e61749b2450e53d8f58494d5faa178d0eace5430f34cd36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.4
|
Release files / Hencoder-1.0.0-py3-none-any.whl
| Download URL | Hencoder-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2226aa50a4888d06ed21928c8fb0ac94869e591fb6e8577b9d214519ec166bdb
|
|
BLAKE2b-256 checksum How to use checksums |
58cc4d37c7a14c106e6f564ff5b10de14cc08fcd173e08ec39e246007bef5b9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.4
|
Security for Hencoder 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.