adding hash code generator to util