dns.dnssec.nsec3_hash

dns.dnssec

nsec3_hash(name, salt, iterations) -> hash

Compute the NSEC3 hash of a domain name

Returns the 20 raw bytes of RFC 5155 §5: SHA-1 over the name in canonical wire form with the salt appended, then iterations more rounds over the previous digest and the salt. base32hex_encode turns the hash into the first label of the NSEC3 owner name.