genhash: implement ipv6
Merge pull request #56 from frankbb/master

genhash: implement ipv6