|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the additional API for MessageDigest classes that have a variable-length output.
The output length should be set before updating any input, because when
setDigestLength
is called, the digest will be reset. The length
is always an exact number of bytes (i.e. a multiple of 8 bits).
This interface is not supported in JavaSoft's version of JCE.
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.3 $
Method Summary | |
void |
setDigestLength(int nbytes)
Sets the length of the digest output in bytes, and resets the digest. |
Method Detail |
public void setDigestLength(int nbytes)
nbytes
- the new length in bytes.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |