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

org.bouncycastle.crypto.engines

## Class Zuc128Engine

- java.lang.Object
- - org.bouncycastle.crypto.engines.Zuc128CoreEngine
  - - org.bouncycastle.crypto.engines.Zuc128Engine

- All Implemented Interfaces:
    StreamCipher, Memoable

      public final class Zuc128Engine
      extends Zuc128CoreEngine

  Zuc256 implementation. Based on https://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Zuc128Engine()` Constructor for streamCipher.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Memoable` | `copy()` Create a copy of the engine.

    - ### Methods inherited from class org.bouncycastle.crypto.engines.Zuc128CoreEngine

      `encode32be, getAlgorithmName, getMaxIterations, init, makeKeyStreamWord, processBytes, reset, reset, returnByte, setKeyAndIV`

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

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

- - ### Constructor Detail

    - #### Zuc128Engine

          public Zuc128Engine()

      Constructor for streamCipher.

  - ### Method Detail

    - #### copy

          public Memoable copy()

      Create a copy of the engine.
      Specified by:
        `copy` in interface `Memoable`
      Overrides:
        `copy` in class `Zuc128CoreEngine`
      Returns:
        the copy