Package net.i2p.crypto.x25519
Class X25519DH
java.lang.Object
net.i2p.crypto.x25519.X25519DH
public class X25519DH extends Object
DH wrapper around Noise's Curve25519 with I2P types.
- Since:
- 0.9.41
-
Method Summary
Modifier and Type Method Description static SessionKey
dh(PrivateKey priv, PublicKey pub)
DH
-
Method Details
-
dh
DH- Returns:
- ECIES_X25519
- Throws:
IllegalArgumentException
- if not ECIES_X25519
-