public class PaillierPrivateKey extends PaillierKey implements PrivateKey
ALGORITHM_NAME| 构造器和说明 |
|---|
PaillierPrivateKey(BigInteger n,
BigInteger lambda,
BigInteger u)
构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2023. All rights reserved.