PHP OO Hash library
PHP
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 49 commits behind AngryBytes:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/AngryBytes/Hash
tests
.gitignore
.travis.yml
LICENSE.md
README.md
composer.json
composer.lock
phpunit.xml

README.md

AngryBytes Hash

Build Status Scrutinizer Code Quality

A simple PHP library that simplifies cryptographical hashing. It provides an object oriented interface to a variety of hashing methods.

Contents

Hash

AngryBytes\Hash\Hash is the main hasher class. It uses one of the Hashers to do the work.

Available hashers are:

  • AngryBytes\Hash\Hasher\BlowFish
  • AngryBytes\Hash\Hasher\MD5

In addition this class can compare strings/hashes using a time-safe method.

HMAC

AngryBytes\Hash\HMAC can be used to generate HMAC's for string messages.

Random Strings

Also included is a basic random string generator in AngryBytes\Hash\RandomString. It targets Unix systems with /dev/urandom available for now.