KenxCode — Custom Python Code Protection & Obfuscation
Project description
KenxCode 🔐
Custom Python code protection system — encode file .py kamu ke format KenxCode yang unik dan terenkripsi. Hanya bisa dijalankan jika package kenxcode ter-install.
Install
pip install kenxcode
Cara Pakai
1. Encode file Python kamu
python kenxcode_tool.py encode myscript.py
# → Menghasilkan myscript.kenx
2. Jalankan file .kenx
kenxrun myscript.kenx
# atau
python kenxcode_tool.py run myscript.kenx
3. Pakai di Python code
import kenxcode
# Encode
source = open("myscript.py").read()
encoded = kenxcode.encode(source)
open("myscript.kenx", "w").write(encoded)
# Run langsung
kenxcode.run_file("myscript.kenx")
# Decode (untuk keperluan kamu sendiri)
source = kenxcode.decode(open("myscript.kenx").read())
4. Batch encode seluruh folder
python kenxcode_tool.py batch ./myproject/
Cara Kerja
KenxCode menggunakan 5 layer enkripsi custom secara berurutan:
| Layer | Teknik |
|---|---|
| 1 | Multi-pass XOR Scramble dengan seed deterministik |
| 2 | S-Box substitution (256-entry bijection, konstanta proprietary) |
| 3 | Spiral diffusion (CBC-like byte spreading) |
| 4 | Block permutation (Fisher-Yates deterministik) |
| 5 | Glyph encoding → Unicode karakter aneh |
Checksum 8-byte custom diverifikasi saat decode — file yang dimanipulasi tidak akan bisa dijalankan.
Contoh Output .kenx
#kenxcode::v3::encoded
꩷꩸꩹ꓕꀁꁱꀋꓠꁵꀄꁬꀎꓝꓐꁷꀅ꒠꒫ꁴꀆꓟꀂꁮꀌꀊꓡ꩜ꓑꀁꁱꀋ...
꩷꩸꩹
#kenxcode::end
Lisensi
MIT — tapi algoritma KenxCode adalah proprietary. Dilarang reverse-engineer.
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 kenxcode-1.0.0.tar.gz.
File metadata
- Download URL: kenxcode-1.0.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e37a144450d41ee816850154c8ad71014dcf18a4b8ca8a0a5429b599894c4859
|
|
| MD5 |
16595f0c9dfa018bd5923e15dce1c323
|
|
| BLAKE2b-256 |
e7d025ed5ca5d61e37d203dc831f8bb7b24fd0d12732d82c26a9b10afa1c17a1
|
File details
Details for the file kenxcode-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kenxcode-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64aba78c203dbe847860839177e99eeb6a84461c25f0bb4e24d86244f4e2e4cb
|
|
| MD5 |
e9393d85013cedb2c59f16f437211d50
|
|
| BLAKE2b-256 |
11c614e3c4356d6343aa87db7b70760dd2d2f1d8ea66b3670165a4fada7b265e
|