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