public class X25519DH extends Object
| Modifier and Type | Method and Description |
|---|---|
static SessionKey |
dh(PrivateKey priv,
PublicKey pub)
DH
|
public static SessionKey dh(PrivateKey priv, PublicKey pub)
pub - MUST have MSB high bit cleared, i.e. pub.getData()[31] & 0x80 == 0IllegalArgumentException - if not ECIES_X25519