Skip to content

CODE-X Encryption

This API provides access to code obfuscation and encryption. It supports JavaScript (via advanced obfuscation), Python & Java (via Base64 encoding). It can be used to protect code and keys before distribution.

POST /api/v1/codex

The following parameters are accepted in the request body:

FieldTypeRequiredDescription
codestringYesThe raw source code string to be obfuscated/encrypted.
langstringYesThe language of the code. Options: js, javascript, py, java.

Choose your preferred method to interact with the CODE-X API:

Terminal window
curl -X POST https://heavstal.com.ng/api/v1/codex \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"lang": "js", "code": "function hello() { console.log(\"Secret Code\"); }"}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"data": {
"language": "js",
"encrypted_code": "var _0x5f2d=['log','...'];(function(_0x2d8f05,_0x4b81bb){..."
}
}