DigestDerivationFunction (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.crypto

## Interface DigestDerivationFunction

- All Superinterfaces:
    DerivationFunction
  All Known Implementing Classes:
    BaseKDFBytesGenerator, ECDHKEKGenerator, EthereumIESEngine.HandshakeKDFFunction, GSKKFDGenerator, KDF1BytesGenerator, KDF2BytesGenerator

      public interface DigestDerivationFunction
      extends DerivationFunction

  base interface for general purpose Digest based byte derivation functions.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Digest` | `getDigest()` return the message digest used as the basis for the function

    - ### Methods inherited from interface org.bouncycastle.crypto.DerivationFunction

      `generateBytes, init`

- - ### Method Detail

    - #### getDigest

          Digest getDigest()

      return the message digest used as the basis for the function