PHP code example of 91ahmed / secure-cogs
1. Go to this page and download the library: Download 91ahmed/secure-cogs library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
91ahmed / secure-cogs example snippets
php
$config = new \SecureCogs\Cogs("path\filename");
// Set your own encryption algorithm / key / iv
$config->method('AES-256-CBC');
$config->key('1a2b813c45f1bH13c29d3812d2e0cfd59db438R029f8287d6f231b2T2079b343');
$config->iv('1982538500398210');