PHP code example of cexll / utils-helper
1. Go to this page and download the library: Download cexll/utils-helper 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/ */
cexll / utils-helper example snippets
composer
use Cexll\Utils\Helper;
echo HashHelper::hash('123456');
$2y$10$QTZjGNps6Mp4OdaMoSgYhO2VKZIW9ykrgbFPhhIyKi1ZptYeRQaQ6
echo HashHelper::verify('123456', '$2y$10$QTZjGNps6Mp4OdaMoSgYhO2VKZIW9ykrgbFPhhIyKi1ZptYeRQaQ6');
true