PHPackages                             brentkozjak/hash-identify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. brentkozjak/hash-identify

ActiveLibrary

brentkozjak/hash-identify
=========================

Identify a hash algorithm based on string input

1.0.0(7y ago)2381GPL-3.0PHPPHP &gt;=7.0

Since Aug 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/brentkozjak/hash-identify)[ Packagist](https://packagist.org/packages/brentkozjak/hash-identify)[ RSS](/packages/brentkozjak-hash-identify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

A PHP package to easily determine the possible hash algorithm(s) for a given string
===================================================================================

[](#a-php-package-to-easily-determine-the-possible-hash-algorithms-for-a-given-string)

This package is largely based off the excellent Python project [hashID](https://github.com/psypanda/hashID) which is included in Kali Linux by default.

This package supports over 220 hashing algorithms and can also include the corresponding hashcat mode and JohnTheRipper format.

Requirements
------------

[](#requirements)

PHP 7 or higher.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require "brentkozjak/hash-identify":"~1.0.0"

```

Usage
-----

[](#usage)

The `parse()` method will build an array of `BrentKozjak\HashIdentify\HashMode` objects. The `HashMode` object extends `Jenssegers\Model\Model` which provides many nice to have features such as `toArray()` and `toJson()`.

Example usage:

```
$string = 'b3b24027c676f8d2cdfa5e2ea8bc1cc7';

$hashTypes = new BrentKozjak\HashIdentify\HashIdentify();
$hashTypes->parse($string);

// Accessed by the object property
$hashTypes->modes

// Casting methods
$hashTypes->toArray();
$hashTypes->toJson();
```

Todo
----

[](#todo)

Tests!

License
-------

[](#license)

This project is open-sourced software licensed under the [GNU GENERAL PUBLIC LICENSE](https://www.gnu.org/licenses/gpl-3.0.en.html)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2829d ago

Major Versions

0.0.1 → 1.0.02018-08-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c046a0ea342c78059adc806395d1cacd3cb892c904f1daac369e6438dd5134b?d=identicon)[brentkozjak](/maintainers/brentkozjak)

### Embed Badge

![Health badge](/badges/brentkozjak-hash-identify/health.svg)

```
[![Health](https://phpackages.com/badges/brentkozjak-hash-identify/health.svg)](https://phpackages.com/packages/brentkozjak-hash-identify)
```

###  Alternatives

[genealabs/laravel-multi-step-progressbar

63256.6k](/packages/genealabs-laravel-multi-step-progressbar)[genealabs/laravel-changelog

A Laravel Nova tool.

55250.7k](/packages/genealabs-laravel-changelog)[jenssegers/mongodb-lite

A lightweight MongoDB database library and model for Laravel 4

121.0k](/packages/jenssegers-mongodb-lite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
