PHP code example of brentkozjak / hash-identify
1. Go to this page and download the library: Download brentkozjak/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 / hash-identify example snippets
$string = 'b3b24027c676f8d2cdfa5e2ea8bc1cc7';
$hashTypes = new BrentKozjak\HashIdentify\HashIdentify();
$hashTypes->parse($string);
// Accessed by the object property
$hashTypes->modes
// Casting methods
$hashTypes->toArray();
$hashTypes->toJson();