| Package | Description |
|---|---|
| net.i2p.crypto | Core cryptographic primitives and algorithms used throughout I2P. |
| net.i2p.crypto.eddsa | Java implementation of EdDSA, a digital signature scheme using a variant of elliptic curve cryptography based on Twisted Edwards curves. |
| Modifier and Type | Method and Description |
|---|---|
static EdDSAPrivateKey | SigUtil.toJavaEdDSAKey(SigningPrivateKey pk)Convert an I2P EdDSA private key to a Java EdDSAPrivateKey, with caching. |
| Modifier and Type | Method and Description |
|---|---|
static SigningPrivateKey | SigUtil.fromJavaKey(EdDSAPrivateKey pk,
SigType type)Convert a Java EdDSAPrivateKey to an I2P SigningPrivateKey. |
| Modifier and Type | Method and Description |
|---|---|
static EdDSAPrivateKey | EdDSABlinding.blind(EdDSAPrivateKey key,
EdDSAPrivateKey alpha)Blind an EdDSA private key. |
static EdDSAPrivateKey | EdDSABlinding.unblind(EdDSAPrivateKey key,
EdDSAPrivateKey alpha)Unblind an EdDSA key using alpha. |
| Modifier and Type | Method and Description |
|---|---|
static EdDSAPrivateKey | EdDSABlinding.blind(EdDSAPrivateKey key,
EdDSAPrivateKey alpha)Blind an EdDSA private key. |
static EdDSAPublicKey | EdDSABlinding.blind(EdDSAPublicKey key,
EdDSAPrivateKey alpha)Blind an EdDSA key. |
protected void | EdDSAEngine.digestInitSign(EdDSAPrivateKey privKey)Initialize the digest for signing. |
protected void | RedDSAEngine.digestInitSign(EdDSAPrivateKey privKey) |
static EdDSAPrivateKey | EdDSABlinding.unblind(EdDSAPrivateKey key,
EdDSAPrivateKey alpha)Unblind an EdDSA key using alpha. |