new method iptables_chain_digest() to compute digest