-
public interface DiffieHellman.Lazy
-
-
Method Summary
Modifier and Type Method Description abstract KeycryptoScalarMultBase(Key secretKey)Generate a public key from a private key. abstract KeycryptoScalarMult(Key secretKey, Key publicKey)Generate a shared key from another user's public keyand a secret key. -
-
Method Detail
-
cryptoScalarMultBase
abstract Key cryptoScalarMultBase(Key secretKey)
Generate a public key from a private key.
- Parameters:
secretKey- Provide the secret key.
-
cryptoScalarMult
abstract Key cryptoScalarMult(Key secretKey, Key publicKey)
Generate a shared key from another user's public keyand a secret key.
- Parameters:
secretKey- A secret key.publicKey- Another user's public key.
-
-
-
-