<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0" />

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 ParametersWithSBox(ICipherParameters parameters, byte[] sBox); public ParametersWithSBox(ICipherParameters parameters, byte[] sBox, int sBoxOff, int sBoxLen); public void CopySBoxTo(byte[] buf, int off, int len); public byte[] GetSBox(); } }