Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Cryptix V3.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## java.security
Interface VariableLengthDigest

All Known Implementing Classes:
  HAVAL

public interface VariableLengthDigest

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.2 $

Since:
  IJCE 1.0.1
Author:
  David Hopwood

Method Summary
`void` | `setDigestLength(int nbytes)` Sets the length of the digest output in bytes, and resets the digest.

Method Detail

### setDigestLength

    public void setDigestLength(int nbytes)

  Sets the length of the digest output in bytes, and resets the digest.
  Parameters:
    `nbytes` - the new length in bytes.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Cryptix V3.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) 1995-2000 The Cryptix Foundation Ltd. All rights reserved.