| Package | Description |
|---|---|
| net.i2p.crypto |
Core cryptographic primitives and algorithms used throughout I2P.
|
| org.klomp.snark.dht |
Distributed Hash Table (DHT) implementation for BitTorrent.
|
| 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
|
| 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
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
List<NodeInfo> |
DHTNodes.findClosest(SHA1Hash h,
int numWant)
DHT
|
| Constructor and Description |
|---|
NodeInfoComparator(SHA1Hash h)
Creates a new comparator for measuring distance to the specified target key.
|