public static byte[] GetSBox(
string sBoxName)
{
byte[] sBox = (byte[])sBoxes[Platform.ToUpperInvariant(sBoxName)];
if (sBox == null)
{
throw new ArgumentException("Unknown S-Box - possible types: "
+ "\"Default\", \"E-Test\", \"E-A\", \"E-B\", \"E-C\", \"E-D\", \"D-Test\", \"D-A\".");
}
return Arrays.Clone(sBox);
}
}