A non-cryptographic multi-layered Encoding and Hashing algorithm.
Project description
ObfusGuard Encoding and Hashing Algorithm
ObfusGuard is a non-cryptographic, multi-layered Encoding and Hashing algorithm designed to provide simple obfuscation and hashing for text input. It consists of three levels of encoding and a hashing function that transforms the input message into a non-reversible hash. The algorithm is implemented in Python and can be used to encode and hash text messages for basic security purposes. This algorithm is suitable for educational purposes or lightweight obfuscation but should not be used for applications requiring strong cryptographic security.
Features
- Multi-Layered Encoding: Three levels of encoding increase the complexity of the transformation.
- Fixed Size Hashing: The final hash is a fixed size, regardless of the input message length, making it suitable for storing in databases and hard to reverse-engineer.
How It Works
- Level One Encoding: Each character in the message is mapped to a sequence of digits using
KMAP. - Level Two Encoding: Each digit in the encoded message is then mapped to an alphabetic character using
ALOHA_MAP. - Level Three Encoding: Sequences of repeated characters are compressed into a count followed by the character itself.
- Final Hash: The final message undergoes a second transformation using
ALOPHA_MAPto produce a non-reversible hash. The hash is a fixed size of 32 characters regardless of the input message length.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file obfusguard-0.0.1.tar.gz.
File metadata
- Download URL: obfusguard-0.0.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
061e94a8ad7becbe42d39f387fef0efada1af25806f35b2db4f5cfdd8dbba9f5
|
|
| MD5 |
3f912099ef451bcfc9c3f6cd6d7ec3da
|
|
| BLAKE2b-256 |
b73e27bf748450746d938a3508f22c15fda6892f4776b637a7ce88ab6a248cae
|
File details
Details for the file obfusguard-0.0.1-py3-none-any.whl.
File metadata
- Download URL: obfusguard-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d92174d918b23ff9630dcd55b28912952980e5c35e252d2b002f8293b056d2db
|
|
| MD5 |
1e5ee26822fa416fb16b2e01109763ff
|
|
| BLAKE2b-256 |
e5139828623aabffdec1c4359c4b9f6210a10177641d109294b72a7d49656592
|