C# Class OctoTorrent.Dht.BigInteger.ModulusRing

Mostra file Open project: Eskat0n/OctoTorrent

Public Methods

Method Description
BarrettReduction ( BigInteger x ) : void
Difference ( BigInteger a, BigInteger b ) : BigInteger
ModulusRing ( BigInteger modulus ) : System
Multiply ( BigInteger a, BigInteger b ) : BigInteger
Pow ( BigInteger a, BigInteger k ) : BigInteger
Pow ( uint b, BigInteger exp ) : BigInteger

Method Details

BarrettReduction() public method

public BarrettReduction ( BigInteger x ) : void
x BigInteger
return void

Difference() public method

public Difference ( BigInteger a, BigInteger b ) : BigInteger
a BigInteger
b BigInteger
return BigInteger

ModulusRing() public method

public ModulusRing ( BigInteger modulus ) : System
modulus BigInteger
return System

Multiply() public method

public Multiply ( BigInteger a, BigInteger b ) : BigInteger
a BigInteger
b BigInteger
return BigInteger

Pow() public method

public Pow ( BigInteger a, BigInteger k ) : BigInteger
a BigInteger
k BigInteger
return BigInteger

Pow() public method

public Pow ( uint b, BigInteger exp ) : BigInteger
b uint
exp BigInteger
return BigInteger