* add crc16(buf,len) function. hope to use for hash calculation.