symmetric hashing