Generates a random number with the specified number of bits such that gcd(number, this) = 1
Namespace: MonoSoftware.CoreAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public BigInteger genCoPrime(
int bits,
Random rand
) |
Visual Basic |
---|
Public Function genCoPrime (
bits As Integer,
rand As Random
) As BigInteger |
Visual C++ |
---|
public:
BigInteger^ genCoPrime(
int bits,
Random^ rand
) |
F# |
---|
member genCoPrime :
bits : int *
rand : Random -> BigInteger
|
Return Value
Type:
BigIntegerSee Also