put strlcpy to hash.c