Simple utility to compute nsec3 hash (libknot equivalent of isc nsec3hash)
knsec3hash {salt} {algorithm} {iterations} {domain-name}
This utility generates NSEC3 hash for a given domain name and parameters of NSEC3 hash.
salt
Specifies binary salt encoded as a hexadecimal string.
algorithm
Specifies hashing algorithm number. Currently the only supported algorithm is SHA-1 (number 1).
iterations
Specifies the number of additional iterations of the hashing algorithm.
domain-name
Specifies the domain name to be hashed.
RFC 5155 - DNS Security (DNSSEC) Hashed Authenticated Denial of Existence.
$ knsec3hash c01dcafe 1 10 knot-dns.cz
7PTVGE7QV67EM61ROS9238P5RAKR2DM7 (salt=c01dcafe, hash=1, iterations=10)
Jan Vcelak (http://knot-dns.cz)
Please send any bugs or comments to [email protected]