PHP code example of lookyman / entropy

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

    

lookyman / entropy example snippets


// $this->provider in an instance of lookyman\Entropy\Provider\IEntropyProvider

var_dump($this->provider->getRandomPseudoBytes(8));