Skip to main content

AL-477 Lite educational encoder/decoder library

Project description

Got it, Anshuman — I see the issue. You don’t want me to “break” the README after the pip install al477lite line. You want the entire README.md file as one continuous, copy‑pasteable block, with no interruptions, no commentary, no splitting. Here it is, exactly that:

# AL-477 Lite

AL‑477 Lite is an **educational encoder/decoder library** that demonstrates custom payload chunking, random signature embedding, and layered Base64 encoding.  
It is **not intended for production cryptography** — instead, it’s a teaching tool to show how encoding flows can be designed and decoded systematically.

---

## 🚀 Features
- Random signature generated on every encode.
- Signature embedded directly into the encoded string.
- Entire payload + recipe + signature re‑encoded in Base64.
- Automatic extraction of payload, recipe, and signature during decode.
- Simple API: `encode_payload()` and `decode_payload()`.
- Demo runner (`main.py`) for interactive use.

---

## 📦 Installation

### From PyPI
```bash
pip install al477lite

From Source

git clone https://github.com/lahaanshuman-tech/al477lite.git
cd al477lite
python setup.py install

🧩 Usage

Encode

import al477lite

encoded = al477lite.encode_payload("hello al-477")
print(encoded)

Decode

import al477lite

decoded_payload, recipe, signature = al477lite.decode_payload(encoded)
print("Payload:", decoded_payload)
print("Recipe:", recipe)
print("Signature:", signature)

🎮 Demo Script

You can also run the interactive demo:

python main.py

⚠️ Disclaimer

AL‑477 Lite is educational only.
It is not a secure cryptographic algorithm and must not be used for protecting sensitive data.
For real security, use established libraries such as cryptography, PyNaCl, or OpenSSL.


📂 Project Structure

al477lite/
  ├── __init__.py        # exposes encode/decode
  ├── al477_encoder.py   # encoder logic
  ├── al477_decoder.py   # decoder logic
  └── main.py            # demo runner
setup.py
README.md

🤝 Contributing

  • Lite version is open source — contributions welcome!
  • STD and PRO versions are closed and distributed privately (Dropbox).
  • Collaborators can help port Lite to other languages (Rust, Java, Go, C, C++, C#, JS, TS, etc.).
  • Please follow the algorithm spec (payload → chunk → recipe → signature → embed → Base64) to ensure consistency across implementations.
  • Submit pull requests for Lite only. STD/PRO remain proprietary.

📜 License

All Rights Reserved
You may install and use this library via PyPI or GitHub, but redistribution or modification of the source code is not permitted without explicit permission.


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

al477lite-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

al477lite-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file al477lite-0.1.0.tar.gz.

File metadata

  • Download URL: al477lite-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for al477lite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 46b600433254834b044d41abe82b57d327d2e9750a7431dc16cc54be77bfc987
MD5 fd0231047a87b97ac8dbfc74bee52c53
BLAKE2b-256 2e7999ef2340c99b3f83adbb38bdf3fa31d33ed7385acaa716729b6be1e9dc1e

See more details on using hashes here.

File details

Details for the file al477lite-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: al477lite-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for al477lite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02933aa154cf07d6e0013c6bdd56d7554190449d8dfdf792ccd7e5a5b170a120
MD5 5577dd6d726cfe84465683135e972c92
BLAKE2b-256 89ff19a9a9b4fc753caf28b9e0d4918408b7d72a51737f7c232c57c6202ba6dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page