posix_cksum first version