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

org.bouncycastle.crypto

## Interface ExtendedDigest

- All Superinterfaces:
    Digest
  All Known Subinterfaces:
    SavableDigest, Xof
  All Known Implementing Classes:
    AsconCXof128, AsconDigest, AsconHash256, AsconXof, AsconXof128, Blake2bDigest, Blake2bpDigest, Blake2sDigest, Blake2spDigest, Blake2xsDigest, Blake3Digest, CSHAKEDigest, DSTU7564Digest, GeneralDigest, GOST3411_2012_256Digest, GOST3411_2012_512Digest, GOST3411_2012Digest, GOST3411Digest, ISAPDigest, Kangaroo.KangarooTwelve, Kangaroo.MarsupilamiFourteen, KeccakDigest, KMAC, LongDigest, MD2Digest, MD4Digest, MD5Digest, NonMemoableDigest, ParallelHash, PhotonBeetleDigest, RIPEMD128Digest, RIPEMD160Digest, RIPEMD256Digest, RIPEMD320Digest, RomulusDigest, SHA1Digest, SHA224Digest, SHA256Digest, SHA384Digest, SHA3Digest, SHA512Digest, SHA512tDigest, SHAKEDigest, ShortenedDigest, SkeinDigest, SM3Digest, SparkleDigest, TigerDigest, TupleHash, WhirlpoolDigest, XoodyakDigest

      public interface ExtendedDigest
      extends Digest

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getByteLength()` Return the size in bytes of the internal buffer the digest applies it's compression function to.

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

      `doFinal, getAlgorithmName, getDigestSize, reset, update, update`

- - ### Method Detail

    - #### getByteLength

          int getByteLength()

      Return the size in bytes of the internal buffer the digest applies it's compression function to.
      Returns:
        byte length of the digests internal buffer.