public class DH extends Object
| Constructor and Description |
|---|
DH() |
| Modifier and Type | Method and Description |
|---|---|
void |
computeK(BigInteger f) |
BigInteger |
getE() |
BigInteger |
getK() |
void |
init(BigInteger p,
BigInteger g) |
public void init(BigInteger p, BigInteger g) throws GeneralSecurityException
GeneralSecurityExceptionpublic void computeK(BigInteger f) throws GeneralSecurityException
GeneralSecurityExceptionpublic BigInteger getE()
public BigInteger getK()
Copyright © 2009–2014. All rights reserved.