C# Class Universal.Torrent.Client.Encryption.ModuloCalculator

Class to facilitate the calculation of a^b mod p, where a and b are large integers and p is the predefined prime from message stream encryption.
Afficher le fichier Open project: haroldma/Universal.Torrent Class Usage Examples

Méthodes publiques

Свойство Type Description
Two Universal.Torrent.Client.Encryption.BigInteger.BigInteger

Méthodes publiques

Méthode Description
Calculate ( BigInteger a, BigInteger b ) : byte[]
Calculate ( BigInteger a, byte b ) : byte[]
Calculate ( byte a, BigInteger b ) : byte[]
Calculate ( byte a, byte b ) : byte[]

Method Details

Calculate() public static méthode

public static Calculate ( BigInteger a, BigInteger b ) : byte[]
a BigInteger
b BigInteger
Résultat byte[]

Calculate() public static méthode

public static Calculate ( BigInteger a, byte b ) : byte[]
a BigInteger
b byte
Résultat byte[]

Calculate() public static méthode

public static Calculate ( byte a, BigInteger b ) : byte[]
a byte
b BigInteger
Résultat byte[]

Calculate() public static méthode

public static Calculate ( byte a, byte b ) : byte[]
a byte
b byte
Résultat byte[]

Property Details

Two public_oe static_oe property

public static BigInteger,Universal.Torrent.Client.Encryption.BigInteger Two
Résultat Universal.Torrent.Client.Encryption.BigInteger.BigInteger