cryptix.provider.elgamal
Class BaseElGamalParams
java.lang.Object
cryptix.provider.elgamal.BaseElGamalParams
- ElGamalParams
public class BaseElGamalParams
extends java.lang.Object
- David Hopwood
- Cryptix 2.2.2
ElGamalKey
, java.security.Key
, java.security.Cipher
, java.security.Signature
protected BigInteger | g
|
protected BigInteger | p
|
BaseElGamalParams(BigInteger p, BigInteger g) - Construct an ElGamalParams object with the specified prime p,
and base g.
|
BigInteger | getG() - Returns the base, g.
|
BigInteger | getP() - Returns the prime, p.
|
BaseElGamalParams
public BaseElGamalParams(BigInteger p,
BigInteger g)
Construct an ElGamalParams object with the specified prime p,
and base g.
getG
public BigInteger getG()
Returns the base, g.
- getG in interface ElGamalParams
- the base as a java.math.BigInteger
getP
public BigInteger getP()
Returns the prime, p.
- getP in interface ElGamalParams
- the prime as a java.math.BigInteger