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: 221 All time: 8,135 This week: 1,411Up
Version License PHP version Categories
consistent_hash 1.0GNU General Publi...5.0PHP 5, Cryptography
Description Author

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: 87215 in Ukraine Ukraine
Week rank: 577 Up12 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  
 0%
Total:221
This week:0
All time:8,135
This week:1,411Up

For more information send a message to info at phpclasses dot org.