have you used this hash code method before? there is a double exponentiation and this can be extremely slow depending on the powers. i have no suggestions for an alternate method. i'll have to look up.