BigIntegersCreateRandomBigInteger Method

Creates a Random BigInteger from the secure random of a given bit length.

Definition

Namespace: Org.BouncyCastle.Utilities
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public static BigInteger CreateRandomBigInteger(
	int bitLength,
	SecureRandom secureRandom
)

Parameters

bitLength  Int32
secureRandom  SecureRandom

Return Value

BigInteger

See Also