C# Class HabboEncryption.Utils.BigIntegerPrime

Afficher le fichier Open project: Joopie1994/HabboEncryption

Méthodes publiques

Méthode Description
GeneratePseudoPrime ( int bitLength, int certainty, RandomNumberGenerator random ) : BigInteger
IsProbablePrime ( this source, int certainty, RandomNumberGenerator random ) : bool

Method Details

GeneratePseudoPrime() public static méthode

public static GeneratePseudoPrime ( int bitLength, int certainty, RandomNumberGenerator random ) : BigInteger
bitLength int
certainty int
random System.Security.Cryptography.RandomNumberGenerator
Résultat BigInteger

IsProbablePrime() public static méthode

public static IsProbablePrime ( this source, int certainty, RandomNumberGenerator random ) : bool
source this
certainty int
random System.Security.Cryptography.RandomNumberGenerator
Résultat bool