PHP code example of brentkozjak / laravel-hash-identify
1. Go to this page and download the library: Download brentkozjak/laravel-hash-identify 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/ */
brentkozjak / laravel-hash-identify example snippets
// Create a hash using Laravel's default Hash::make() method.
$hash = \Hash::make('example');
// Identify the possible hashing algorithm(s) used to create $hash
$hash_modes = \Hash::identify($hash);
// $hash_modes is an instance of a standard Laravel Collection
$hash_modes->pluck('name');
$hash_modes->toArray();
...