public class Commitment
extends java.lang.Object
Constructor | Description |
---|---|
Commitment(byte[] secret,
byte[] commitment) |
Base constructor.
|
Modifier and Type | Method | Description |
---|---|---|
byte[] |
getCommitment() |
The sealed commitment.
|
byte[] |
getSecret() |
The secret required to reveal the commitment.
|