Generates a positive BigInteger that is probably prime.

Namespace: MonoSoftware.Core
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public static BigInteger genPseudoPrime(
	int bits,
	int confidence,
	Random rand
)
Visual Basic
Public Shared Function genPseudoPrime ( 
	bits As Integer,
	confidence As Integer,
	rand As Random
) As BigInteger
Visual C++
public:
static BigInteger^ genPseudoPrime(
	int bits, 
	int confidence, 
	Random^ rand
)
F#
static member genPseudoPrime : 
        bits : int * 
        confidence : int * 
        rand : Random -> BigInteger 

Parameters

bits
Type: System..::..Int32
confidence
Type: System..::..Int32
rand
Type: System..::..Random

Return Value

Type: BigInteger

See Also