C# Class HabboEncryption.Security.Cryptography.DiffieHellman

Afficher le fichier Open project: Joopie1994/HabboEncryption Class Usage Examples

Méthodes publiques

Méthode Description
CalculateSharedKey ( BigInteger publicKey ) : BigInteger
CreateInstance ( DiffieHellman dh ) : DiffieHellman
CreateInstance ( int bitLength ) : DiffieHellman
DiffieHellman ( int bitLength, BigInteger p, BigInteger g ) : System

Private Methods

Méthode Description
GenerateKeys ( ) : void

Method Details

CalculateSharedKey() public méthode

public CalculateSharedKey ( BigInteger publicKey ) : BigInteger
publicKey BigInteger
Résultat BigInteger

CreateInstance() public static méthode

public static CreateInstance ( DiffieHellman dh ) : DiffieHellman
dh DiffieHellman
Résultat DiffieHellman

CreateInstance() public static méthode

public static CreateInstance ( int bitLength ) : DiffieHellman
bitLength int
Résultat DiffieHellman

DiffieHellman() public méthode

public DiffieHellman ( int bitLength, BigInteger p, BigInteger g ) : System
bitLength int
p BigInteger
g BigInteger
Résultat System