## Uses of Class
net.i2p.crypto.SHA1Hash

- Packages that use SHA1Hash
  Package | Description
  --- | ---
  net.i2p.crypto | Core cryptographic primitives and algorithms used throughout I2P.
  org.klomp.snark.dht | Distributed Hash Table (DHT) implementation for BitTorrent.

- - ### Uses of SHA1Hash in net.i2p.crypto

    Methods in net.i2p.crypto that return SHA1Hash
    Modifier and Type | Method and Description
    --- | ---
    `static SHA1Hash` | DSAEngine.`calculateHash(byte[] source, int offset, int len)` Calculate a SHA-1 hash of the source data.
    `SHA1Hash` | DSAEngine.`calculateHash(InputStream in)` Deprecated. unused

    Methods in net.i2p.crypto with parameters of type SHA1Hash
    Modifier and Type | Method and Description
    --- | ---
    `Signature` | DSAEngine.`sign(SHA1Hash hash, SigningPrivateKey signingKey)` Sign using DSA-SHA1 ONLY.
    `boolean` | DSAEngine.`verifySignature(Signature signature, SHA1Hash hash, SigningPublicKey verifyingKey)` Verify using DSA-SHA1 ONLY

  - ### Uses of SHA1Hash in org.klomp.snark.dht

    Subclasses of SHA1Hash in org.klomp.snark.dht
    Modifier and Type | Class and Description
    --- | ---
    `(package private) class` | `InfoHash` Represents a BitTorrent info hash used for DHT operations.
    `class` | `NID` Node Identifier (NID) for Kademlia DHT operations.
    `(package private) class` | `TokenKey` Indexing key for DHT tokens based on node ID and info hash combination.

    Methods in org.klomp.snark.dht with parameters of type SHA1Hash
    Modifier and Type | Method and Description
    --- | ---
    `List<NodeInfo>` | DHTNodes.`findClosest(SHA1Hash h, int numWant)` DHT

    Constructors in org.klomp.snark.dht with parameters of type SHA1Hash
    Constructor and Description
    `NodeInfoComparator(SHA1Hash h)` Creates a new comparator for measuring distance to the specified target key.