| Package | Description |
|---|---|
| net.i2p.crypto |
These classes provide a number of low-level cryptographic routines.
|
| org.klomp.snark.dht |
| Modifier and Type | Method | Description |
|---|---|---|
static SHA1Hash |
DSAEngine.calculateHash(byte[] source,
int offset,
int len) |
|
SHA1Hash |
DSAEngine.calculateHash(InputStream in) |
Deprecated.
unused
|
| Modifier and Type | Method | 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 | Description |
|---|---|---|
(package private) class |
InfoHash |
A 20-byte SHA1 info hash
|
class |
NID |
A 20-byte peer ID, used as a Map key in lots of places.
|
(package private) class |
TokenKey |
Used to index incoming Tokens
|
| Modifier and Type | Method | Description |
|---|---|---|
List<NodeInfo> |
DHTNodes.findClosest(SHA1Hash h,
int numWant) |
DHT
|
| Constructor | Description |
|---|---|
NodeInfoComparator(SHA1Hash h) |