Org.BouncyCastle.Crypto.Parameters.ParametersWithSBox
Wrapper class for parameters which include a substitution box (S-Box).
namespace Org.BouncyCastle.Crypto.Parameters
{
public class ParametersWithSBox : ICipherParameters
{
public ICipherParameters Parameters { get; }
public int SBoxLength { get; }
public static ParametersWithSBox Create<TState>(ICipherParameters parameters, int sBoxLength, TState state, SpanAction<byte, TState> action);
public ParametersWithSBox(ICipherParameters parameters, byte[] sBox);
public ParametersWithSBox(ICipherParameters parameters, byte[] sBox, int sBoxOff, int sBoxLen);
public ParametersWithSBox(ICipherParameters parameters, ReadOnlySpan<byte> sBox);
public void CopySBoxTo(byte[] buf, int off, int len);
public byte[] GetSBox();
}
}