Org.BouncyCastle.Crypto.Engines.SparkleEngine
Sparkle v1.2, based on the current round 3 submission, https://sparkle-lwc.github.io/ .
namespace Org.BouncyCastle.Crypto.Engines
{
public sealed class SparkleEngine : IAeadCipher
{
public enum SparkleParameters
{
SCHWAEMM128_128,
SCHWAEMM256_128,
SCHWAEMM192_192,
SCHWAEMM256_256
}
public string AlgorithmName { get; }
public SparkleEngine(SparkleParameters sparkleParameters);
public int GetKeyBytesSize();
public int GetIVBytesSize();
public void Init(bool forEncryption, ICipherParameters parameters);
public void ProcessAadByte(byte input);
public void ProcessAadBytes(byte[] inBytes, int inOff, int len);
public int ProcessByte(byte input, byte[] outBytes, int outOff);
public int ProcessBytes(byte[] inBytes, int inOff, int len, byte[] outBytes, int outOff);
public int DoFinal(byte[] outBytes, int outOff);
public byte[] GetMac();
public int GetUpdateOutputSize(int len);
public int GetOutputSize(int len);
public void Reset();
}
}