org.bouncycastle.crypto.engines.Zuc256Engine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-debug-jdk15to18 Show documentation
Show all versions of bcprov-debug-jdk15to18 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.
package org.bouncycastle.crypto.engines;
import org.bouncycastle.util.Memoable;
/**
* Zuc256 implementation.
* Based on http://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf
*/
public final class Zuc256Engine
extends Zuc256CoreEngine
{
/**
* Constructor for streamCipher.
*/
public Zuc256Engine()
{
super();
}
/**
* Constructor for Mac.
*
* @param pLength the Mac length
*/
public Zuc256Engine(final int pLength)
{
super(pLength);
}
/**
* Constructor for Memoable.
*
* @param pSource the source engine
*/
private Zuc256Engine(final Zuc256Engine pSource)
{
super(pSource);
}
/**
* Create a copy of the engine.
*
* @return the copy
*/
public Memoable copy()
{
return new Zuc256Engine(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy