| 程序包 | 说明 |
|---|---|
| com.alipay.mychain.zoro | |
| com.alipay.mychain.zoro.annotation.privacy |
| 限定符和类型 | 方法和说明 |
|---|---|
static Note |
ZoroAPI.decryptAndVerifyCommitment(String commitment,
String encryptedValue,
String encryptedBlindFactor,
String envelop,
byte[] keyName,
byte[] password)
Decrypts the encrypted blind factor and value of a pedersen commitment and verify the commitment is whether matched or not.
|
static Note |
ZoroAPI.verifyCommitmentChange(String pc,
String blindFactor,
long value,
byte[] keyName,
byte[] password,
List<? extends EncryptedTuple> positiveTuples,
List<? extends EncryptedTuple> negativeTuples) |
static Note |
ZoroAPI.verifyCommitmentChange(String pc,
String blindFactor,
long value,
List<? extends PlainTuple> positiveTuples,
List<? extends PlainTuple> negativeTuples)
verify commitment change and accumulate blind factor and value
|
| 限定符和类型 | 方法和说明 |
|---|---|
static List<Note> |
ZoroAPI.decryptAndVerifyCommitment(List<String> commitmentList,
List<String> encryptedValueList,
List<String> encryptedBlindFactorList,
String envelop,
byte[] keyName,
byte[] password)
Decrypts the encrypted blind factor and value of each pedersen commitment and verify the commitment is whether matched or not.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Note |
CommitmentChecker.checkCommitment(String commitment,
String plainValue,
String plainBlindFactor,
String encryptedValue,
String encryptedBlindFactor) |
static Note |
Verification.computeCommitmentChange(byte[] pedersenCommitment,
byte[] blindFactor,
long value,
byte[] keyName,
byte[] password,
List<? extends EncryptedTuple> positiveTuples,
List<? extends EncryptedTuple> negativeTuples) |
static Note |
Verification.computeCommitmentChange(String commitment,
String blindFactor,
long value,
List<? extends PlainTuple> positiveTuples,
List<? extends PlainTuple> negativeTuples) |
Copyright © 2022. All rights reserved.