|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
General interface fdr classes that produce and validate commitments.
| Method Summary | |
Commitment |
commit(byte[] message)
Generate a commitment for the passed in message. |
boolean |
isRevealed(Commitment commitment,
byte[] message)
Return true if the passed in commitment represents a commitment to the passed in maessage. |
| Method Detail |
public Commitment commit(byte[] message)
message - the message to be committed to,
public boolean isRevealed(Commitment commitment,
byte[] message)
commitment - a commitment previously generated.message - the message that was expected to have been committed to.
|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||