Hashing::needsRehash() method