Package org.bouncycastle.crypto.engines

## Class Zuc256Engine

- java.lang.Object
- - org.bouncycastle.crypto.engines.Zuc128CoreEngine
  - - org.bouncycastle.crypto.engines.Zuc256CoreEngine
    - - org.bouncycastle.crypto.engines.Zuc256Engine

- All Implemented Interfaces:
    `StreamCipher`, `Memoable`

      public final class Zuc256Engine
      extends Zuc256CoreEngine

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

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Zuc256Engine()` | Constructor for streamCipher.
    `Zuc256Engine​(int pLength)` | Constructor for Mac.

  - ### Method Summary

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

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

      `getAlgorithmName, getMaxIterations, reset, setKeyAndIV`

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

      `encode32be, init, makeKeyStreamWord, processBytes, reset, returnByte`

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

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

- - ### Constructor Detail

    - #### Zuc256Engine

          public Zuc256Engine()

      Constructor for streamCipher.

    - #### Zuc256Engine

          public Zuc256Engine​(int pLength)

      Constructor for Mac.
      Parameters:
        `pLength` - the Mac length

  - ### Method Detail

    - #### copy

          public Memoable copy()

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