hashing metadata