| Package | Description |
|---|---|
| net.i2p.crypto | Core cryptographic primitives and algorithms used throughout I2P. |
| net.i2p.router.crypto.pqc | Post-quantum cryptographic algorithms for I2P. |
| net.i2p.router.crypto.ratchet | Implementation of ECIES-X25519-AEAD-Ratchet cryptographic protocol
(I2P proposal 144), providing forward secrecy and enhanced security
for I2P transport communications. |
| net.i2p.router.transport.crypto | Cryptographic operations for I2P transport protocols, including key exchange
algorithms, session key management, and transport-layer encryption. |
| Modifier and Type | Method and Description |
|---|---|
KeyPair | KeyGenerator.generatePKIKeys(EncType type)Supports EncTypes |
KeyPair | KeyFactory.getKeys()Get the keys. |
| Modifier and Type | Method and Description |
|---|---|
KeyPair | MLKEMKeyFactory.getKeys()Pulls a prebuilt keypair from the queue,
or if not available, construct a new one. |
static KeyPair | MLKEM.getKeys(EncType type)Alice side |
| Modifier and Type | Method and Description |
|---|---|
void | MLKEMKeyFactory.returnUnused(KeyPair kp)Return an unused key pair
to be put back onto the queue for reuse. |
| Modifier and Type | Class and Description |
|---|---|
class | Elg2KeyPairX25519 key pair with pre-calculated Elligator2-encoded public key |
| Modifier and Type | Method and Description |
|---|---|
KeyPair | RatchetTagSet.getNextKeys()Next Forward KeyPair if applicable (we're running low). |
| Modifier and Type | Method and Description |
|---|---|
KeyPair | X25519KeyFactory.getKeys()Pulls a prebuilt keypair from the queue,
or if not available, construct a new one. |
| Modifier and Type | Method and Description |
|---|---|
void | X25519KeyFactory.returnUnused(KeyPair kp)Return an unused DH key builder
to be put back onto the queue for reuse. |