SecureRandomGetInstance(String) Method

Create and auto-seed an instance based on the given algorithm.

Definition

Namespace: Org.BouncyCastle.Security
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public static SecureRandom GetInstance(
	string algorithm
)

Parameters

algorithm  String
e.g. "SHA256PRNG"

Return Value

SecureRandom

Remarks

Equivalent to GetInstance(algorithm, true)

See Also