Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kenxcode-1.0.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

kenxcode-1.0.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

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

Hashes for kenxcode-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e37a144450d41ee816850154c8ad71014dcf18a4b8ca8a0a5429b599894c4859
MD5 16595f0c9dfa018bd5923e15dce1c323
BLAKE2b-256 e7d025ed5ca5d61e37d203dc831f8bb7b24fd0d12732d82c26a9b10afa1c17a1

See more details on using hashes here.

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

Hashes for kenxcode-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64aba78c203dbe847860839177e99eeb6a84461c25f0bb4e24d86244f4e2e4cb
MD5 e9393d85013cedb2c59f16f437211d50
BLAKE2b-256 11c614e3c4356d6343aa87db7b70760dd2d2f1d8ea66b3670165a4fada7b265e

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