org.bouncycastle.crypto.engines.Zuc128Engine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-ext-jdk15on Show documentation
Show all versions of bcprov-ext-jdk15on Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8. Note: this package includes the NTRU encryption algorithms.
The newest version!
package org.bouncycastle.crypto.engines;
import org.bouncycastle.util.Memoable;
/**
* Zuc256 implementation.
* Based on https://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf
*/
public final class Zuc128Engine
extends Zuc128CoreEngine
{
/**
* Constructor for streamCipher.
*/
public Zuc128Engine()
{
super();
}
/**
* Constructor for Memoable.
*
* @param pSource the source engine
*/
private Zuc128Engine(final Zuc128Engine pSource)
{
super(pSource);
}
/**
* Create a copy of the engine.
*
* @return the copy
*/
public Memoable copy()
{
return new Zuc128Engine(this);
}
}