Unique ID c++
What is the best way to generate a Unique ID from two (or more) short ints in C++?  I am trying to uniquely identify vertices in a graph.  The vertices contain two to four short ints as data, and ideally the ID would be some kind of a hash of them.  Prefer portability and uniqueness over speed or ease.  
Unique ID c++
===

What is the best way to generate a Unique ID from two (or more) short ints in C++?  I am trying to uniquely identify vertices in a graph.  The vertices contain two to four short ints as data, and ideally the ID would be some kind of a hash of them.  Prefer portability and uniqueness over speed or ease.  