public class PaillierPublicKey extends PaillierKey implements PublicKey
ALGORITHM_NAME
Constructor and Description |
---|
PaillierPublicKey(BigInteger n,
BigInteger g)
构造
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
getG()
获取G值
|
generateRandomRinZn, getAlgorithm, getEncoded, getFormat, getN, getNSquare
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlgorithm, getEncoded, getFormat
public PaillierPublicKey(BigInteger n, BigInteger g)
n
- N值g
- G值public BigInteger getG()
Copyright © 2025. All rights reserved.