Org.BouncyCastle.Crypto.Parameters.ParametersWithSBox
Wrapper class for parameters which include a substitution box (S-Box).
Return the base parameters associated with this S-Box.
Return the length of the S-Box in bytes.
Basic constructor.
Constructor with offset and length for S-Box.
Constructor using Span for S-Box.
public static ParametersWithSBox Create<TState>(ICipherParameters parameters, int sBoxLength, TState state, SpanAction<byte, TState> action)
Create a new ParametersWithSBox instance using a span action.
Copy the S-Box into a segment of a destination buffer.
Return a copy of the S-Box.