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, getNSquareclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlgorithm, getEncoded, getFormatpublic PaillierPublicKey(BigInteger n, BigInteger g)
n - N值g - G值public BigInteger getG()
Copyright © 2025. All rights reserved.