HEROXOR
Insanely secure. Easy-to-use.
Additional Information
How do I use the HEROXOR API?
To use the HEROXOR API you need to send a HTTP request to:
https://api.xenot.pro/heroxor/?base64=YOUR_DATA&key=YOUR_KEY&mode=3
API Parameters
STRING (modes 1-2 only)
Send the data you want to en-/decrypt as a plain string. Only works with encryption modes 1 and 2.
BASE64 RECOMMENDED
Send the data you want to en-/decrypt as base64 encoded data. Works with all encryption modes. This is the recommended method.
KEY REQUIRED
Your encryption/decryption key. Must be the same for both operations.
MODE REQUIRED
Encryption strength level (1-5). Mode 3 is recommended for most use cases. Higher modes provide stronger encryption but may be slower.
API Request Example
<?php
//Define your key and encryption mode
$myKey = "MySecretKey";
$mode = 3; // Encryption mode (1-5)
//Define your data
$myData = "This is a secret message.";
//Convert to base64
$myBase64Data = base64_encode($myData);
//ENCRYPT: Send API Request with base64 data
$url = "https://api.xenot.pro/heroxor/?base64=".$myBase64Data."&key=".$myKey."&mode=".$mode;
$encrypted = file_get_contents($url);
echo "Encrypted: ".$encrypted."<br>";
//DECRYPT: Send the encrypted data back with the same key and mode
$decryptUrl = "https://api.xenot.pro/heroxor/?base64=".urlencode($encrypted)."&key=".$myKey."&mode=".$mode;
$decrypted = file_get_contents($decryptUrl);
$decrypted = base64_decode($decrypted);
echo "Decrypted: ".$decrypted."<br>";
?>
How to Decrypt
To decrypt an encrypted string, enter the encrypted string and the same key that was used to encrypt it. The API will automatically detect whether you're encrypting or decrypting based on the input.