Possible Duplicate:
Generate a unique value for a combination of two numbers
Is there a way to hash two user ids (integers), and to always get a unique hash for a given pair of user ids?
For example:
a = hash( x , y );
and
b = hash( y , x );
In the above example, a and b must always be equivalent for any given pair of ids in the range of an INT(11) (MySQL).
Plain PHP is the programming environment.
Any suggestions welcome guys...