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

org.bouncycastle.crypto.digests

## Class XofUtils

- java.lang.Object
- - org.bouncycastle.crypto.digests.XofUtils

-     public class XofUtils
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XofUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static byte[]` | `leftEncode(long strLen)`
    `static byte[]` | `rightEncode(long strLen)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### XofUtils

          public XofUtils()

  - ### Method Detail

    - #### leftEncode

          public static byte[] leftEncode(long strLen)

    - #### rightEncode

          public static byte[] rightEncode(long strLen)