I used the NetBSD's cksum command.