public static interface DiffieHellman.Lazy
| Modifier and Type | Method and Description |
|---|---|
Key |
cryptoScalarMult(Key publicKey,
Key secretKey)
Generate a shared key from another user's public key
and a secret key.
|
Key |
cryptoScalarMultBase(Key secretKey)
Generate a public key from a private key.
|