/home/kueuepay/public_html/vendor/defuse/php-encryption/bin/generate-defuse-key
#!/usr/bin/env php
<?php

use Defuse\Crypto\Key;

foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
    if (file_exists($file)) {
        require $file;
        break;
    }
}

$key = Key::createNewRandomKey();
echo $key->saveToAsciiSafeString(), "\n";
Error Handling

Error Handling

In case of an error, the API will return an error response containing a specific error code 400, 403 Failed and a user-friendly message. Refer to our API documentation for a comprehensive list of error codes and their descriptions.