hash both hashed strings before checking