hashing text nodes