1.. highlight:: console 2 3knsec3hash – NSEC hash computation utility 4========================================== 5 6Synopsis 7-------- 8 9:program:`knsec3hash` *salt* *algorithm* *iterations* *name* 10 11Description 12----------- 13 14This utility generates a NSEC3 hash for a given domain name and parameters of NSEC3 hash. 15 16Parameters 17.......... 18 19*salt* 20 Specifies a binary salt encoded as a hexadecimal string. 21 22*algorithm* 23 Specifies a hashing algorithm by number. Currently, the only supported algorithm is SHA-1 (number 1). 24 25*iterations* 26 Specifies the number of additional iterations of the hashing algorithm. 27 28*name* 29 Specifies the domain name to be hashed. 30 31Exit values 32----------- 33 34Exit status of 0 means successful operation. Any other exit status indicates 35an error. 36 37Examples 38-------- 39 40:: 41 42 $ knsec3hash c01dcafe 1 10 knot-dns.cz 43 7PTVGE7QV67EM61ROS9238P5RAKR2DM7 (salt=c01dcafe, hash=1, iterations=10) 44 45:: 46 47 $ knsec3hash - 1 0 net 48 A1RT98BS5QGC9NFI51S9HCI47ULJG6JH (salt=-, hash=1, iterations=0) 49 50See Also 51-------- 52 53:rfc:`5155` – DNS Security (DNSSEC) Hashed Authenticated Denial of Existence. 54 55:manpage:`knotc(8)`, :manpage:`knotd(8)`. 56