add HashUtils methods for arrays of primitive types