Download the PHP package brentkozjak/laravel-hash-identify without Composer
On this page you can find all versions of the php package brentkozjak/laravel-hash-identify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download brentkozjak/laravel-hash-identify
More information about brentkozjak/laravel-hash-identify
Files in brentkozjak/laravel-hash-identify
Package laravel-hash-identify
Short Description Laravel package to easily identify possible algorithm(s) of a hash
License GPL-3.0
Homepage https://github.com/brentkozjak/laravel-hash-identify
Informations about the package laravel-hash-identify
A Laravel package to easily determine the possible hash algorithm(s) for a given string
This package is largely based off the excellent Python project hashID which is included in Kali Linux by default.
In addition to supporting over 220 hashing algorithms, this package can also include corresponding hashcat mode and JohnTheRipper format.
This package extends Laravel's default HashManager
class, so you can easily use it to both generate and identify hashes using the Hash
facade.
Requirements
PHP 7 and Laravel 5.5 or higher.
Installation
You can install the package via composer:
The package and the facade will be autodiscovered by Laravel.
Usage
This package extends Laravel's HashManager
class, allowing you to use the default Hash
facade like so:
A note on performance
This package unavoidably uses a lot of preg_match
regular expressions to match a hashing algorithm. While I have found performance to be quite acceptable, I am of course open to further optimisations.
Todo
Tests!
License
This project is open-sourced software licensed under the GNU GENERAL PUBLIC LICENSE
All versions of laravel-hash-identify with dependencies
illuminate/support Version 5.5.*|5.6.*
brentkozjak/hash-identify Version ~1.0.0