PHP Interface Flexihash\Hasher\HasherInterface

Author: Paul Annesley
Datei anzeigen Open project: pda/flexihash

Public Methods

Method Description
hash ( $string ) : mixed Hashes the given string into a 32bit address space.

Method Details

hash() public method

The data must have 0xFFFFFFFF possible values, and be sortable by PHP sort functions using SORT_REGULAR.
public hash ( $string ) : mixed
return mixed A sortable format with 0xFFFFFFFF possible values