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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SessionKey
dh(PrivateKey priv, PublicKey pub)
DH
-
-
-
Method Detail
-
dh
public static SessionKey dh(PrivateKey priv, PublicKey pub)
DH- Returns:
- ECIES_X25519
- Throws:
IllegalArgumentException
- if not ECIES_X25519
-
-