Hash cookie to prevent dups