public class PaillierPrivateKey extends PaillierKey implements PrivateKey
ALGORITHM_NAME| Constructor and Description |
|---|
PaillierPrivateKey(BigInteger n,
BigInteger lambda,
BigInteger u)
构造
|
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getLambda()
获取lambda值
|
BigInteger |
getU()
获取U值
|
generateRandomRinZn, getAlgorithm, getEncoded, getFormat, getN, getNSquareclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlgorithm, getEncoded, getFormatdestroy, isDestroyedpublic PaillierPrivateKey(BigInteger n, BigInteger lambda, BigInteger u)
n - N值lambda - lambda值u - U值public BigInteger getLambda()
public BigInteger getU()
Copyright © 2025. All rights reserved.