Download the PHP package divineomega/php-password-cracker without Composer
On this page you can find all versions of the php package divineomega/php-password-cracker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download divineomega/php-password-cracker
More information about divineomega/php-password-cracker
Files in divineomega/php-password-cracker
Package php-password-cracker
Short Description PHP package to crack passwords
License LGPL-3.0-only
Informations about the package php-password-cracker
PHP Password Cracker
PHP package to crack passwords
Only use this package to audit password hashes and dictionaries you are authorized to test.
Installation
Usage
crack() returns the matching plain-text candidate, or null when no candidate
matches or the hash format is unsupported. You can check a hash without running
the dictionary using DictionaryCracker::supportsHash($hash).
Custom dictionaries and concurrency
Pass an array, Traversable, or readable file path to use your own dictionary.
The optional second argument controls the maximum number of concurrent checks.
Dictionary entries are used exactly as supplied, except that line endings are removed when a file is loaded. Unreadable files, non-string entries, and invalid concurrency produce clear exceptions.
Parallel support
When the pcntl and posix extensions are available, checks run in parallel
through spatie/async. Other platforms use its synchronous fallback. The
progress callback runs as candidates finish, so callback order is not guaranteed
in parallel mode and processing may stop early after a match.
Compatibility
PHP 7.1 through the current PHP 8.x releases are supported. Composer selects the
newest compatible spatie/async release for the PHP runtime in use.