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

Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom

Wrapper class for parameters which include a source of randomness (SecureRandom).
namespace Org.BouncyCastle.Crypto.Parameters { public class ParametersWithRandom : ICipherParameters { public ICipherParameters Parameters { get; } public SecureRandom Random { get; } public ParametersWithRandom(ICipherParameters parameters); public ParametersWithRandom(ICipherParameters parameters, SecureRandom random); } }