Is there a library we can call on to generate this hash code? This is one area where my Java knowledge is lacking.