PHP Classes

Magic Consistent Hash Class: Get an hash for a string from an array of values

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 222 All time: 8,213 This week: 313Up
Version License PHP version Categories
consistent_hash 1.0GNU General Publi...5.0PHP 5, Cryptography


This class can be used to get an hash for a string from an array of values.

It takes as parameter an array of hash values.

The class takes a string as argument and returns the same entry from the hash array values for each string argument.

Picture of Mudessir Medgitov
Name: Mudessir Medgitov <contact>
Classes: 2 packages by
Country: Ukraine Ukraine
Age: ???
All time rank: 87915 in Ukraine Ukraine
Week rank: 578 Up11 in Ukraine Ukraine Up

  Files folder image Files  
File Role Description
Plain text file ConsistentHash.class.php Class ConsistentHash Class
Accessible without login Plain text file ConsistentHash.example.php Example Example of usage

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,213
This week:313Up