Encrypting Your Data
It is essential to encrypt your data.
To encrypt your username and password or API key and API ID, you should use AES encryption.
The encrypt secret key and initialization vector key will be sent privately. These keys are necessary for the encryption process and will help you secure your data.
Mandatory fields that must be encrypted using shown method: Username, Password, API key, API ID.
Encryption
<? php
$data= "Sensitive data to encrypt"
//Encrypt key
$key= "your-encryption-key"
// Encryption method
$method= "AES-256-CBC";
// Encrypt IV
$iv= "your-initialization-vector";
$ivB = base64_decode($iv);
// Encrypt the data
$encryptedData= openssl_encrypt($data, $method, $key, 0, $ivB);
// Encode the encrypted data
$encryptedDataBase64= base64_encode($encryptedData);
//Encrypt key
$key= "your-encryption-key"
// Encryption method
$method= "AES-256-CBC";
// Encrypt IV
$iv= "your-initialization-vector";
$ivB = base64_decode($iv);
// Encrypt the data
$encryptedData= openssl_encrypt($data, $method, $key, 0, $ivB);
// Encode the encrypted data
$encryptedDataBase64= base64_encode($encryptedData);
?>