| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public | Commitment(byte[]
an encoding of the secret required to reveal the commitment. secret, byte[] an encoding of the sealed commitment. commitment)Base constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public byte[] | Returns: an encoding of the secret associated with the commitment.The secret required to reveal the commitment. |
| commitment | back to summary |
|---|---|
| private final byte[] commitment | |
| secret | back to summary |
|---|---|
| private final byte[] secret | |
| Commitment | back to summary |
|---|---|
| public Commitment(byte[] secret, byte[] commitment) Base constructor.
| |
| getCommitment | back to summary |
|---|---|
| public byte[] getCommitment() The sealed commitment.
| |
| getSecret | back to summary |
|---|---|
| public byte[] getSecret() The secret required to reveal the commitment.
| |