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

Org.BouncyCastle.Crypto.Parameters.ParametersWithRandom

Wrapper class for parameters which include a source of randomness (SecureRandom).
public ICipherParameters Parameters { get; }

Return the base parameters associated with this randomness.

public SecureRandom Random { get; }

Return the source of randomness.

Constructor using the default secure random from CryptoServicesRegistrar.

Basic constructor.