PHP code example of pgaultier / vbx-php

1. Go to this page and download the library: Download pgaultier/vbx-php 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/ */

    

pgaultier / vbx-php example snippets

 
$clsEncrypt = new ClsEncrypt();
$password = 'secret key';
$string = 'Hello World';

$encryptedBinaryString = $clsEncrypt->rndCryptLevel2($string, $password);

$decryptedString = $clsEncrypt->rndDecryptLevel2($encryptedBinaryString, $password);
// $decryptedString == 'Hello World'
 json
{
    "aultier/vbx-php": "*"
    }
}
 php
$vbRandomizer = new Rnd();

$vbRandomizer->rnd(-1);
$seed = 1500;
$vbRandomizer->randomize($seed);

$randomNumber = $vbRandomizer->rnd();