xjava.security
public interface VariableLengthDigest
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 $
Since: IJCE 1.0.1
Method Summary | |
---|---|
void | setDigestLength(int nbytes)
Sets the length of the digest output in bytes, and resets the digest.
|
Parameters: nbytes the new length in bytes.