C# Class Mono.Math.BigInteger.Montgomery

Mostrar archivo Open project: rackerlabs/openstack-guest-agents-windows-xenserver

Public Methods

Method Description
Inverse ( uint n ) : uint
Reduce ( BigInteger n, BigInteger m ) : BigInteger
Reduce ( BigInteger n, BigInteger m, uint mPrime ) : BigInteger
ToMont ( BigInteger n, BigInteger m ) : BigInteger

Method Details

Inverse() public static method

public static Inverse ( uint n ) : uint
n uint
return uint

Reduce() public static method

public static Reduce ( BigInteger n, BigInteger m ) : BigInteger
n BigInteger
m BigInteger
return BigInteger

Reduce() public static method

public static Reduce ( BigInteger n, BigInteger m, uint mPrime ) : BigInteger
n BigInteger
m BigInteger
mPrime uint
return BigInteger

ToMont() public static method

public static ToMont ( BigInteger n, BigInteger m ) : BigInteger
n BigInteger
m BigInteger
return BigInteger