C# Class NBitcoin.BouncyCastle.Math.EC.Multiplier.WNafUtilities

Datei anzeigen Open project: Nethereum/Nethereum Class Usage Examples

Public Properties

Property Type Description
PRECOMP_NAME string

Public Methods

Method Description
GenerateCompactNaf ( BigInteger k ) : int[]
GenerateCompactWindowNaf ( int width, BigInteger k ) : int[]
GenerateJsf ( BigInteger g, BigInteger h ) : byte[]
GenerateNaf ( BigInteger k ) : byte[]
GenerateWindowNaf ( int width, BigInteger k ) : byte[]
GetNafWeight ( BigInteger k ) : int
GetWNafPreCompInfo ( ECPoint p ) : WNafPreCompInfo
GetWNafPreCompInfo ( PreCompInfo preCompInfo ) : WNafPreCompInfo
GetWindowSize ( int bits ) : int
GetWindowSize ( int bits, int windowSizeCutoffs ) : int
MapPointWithPrecomp ( ECPoint p, int width, bool includeNegated, ECPointMap pointMap ) : ECPoint
Precompute ( ECPoint p, int width, bool includeNegated ) : WNafPreCompInfo

Private Methods

Method Description
ResizeTable ( ECPoint a, int length ) : ECPoint[]
Trim ( byte a, int length ) : byte[]
Trim ( int a, int length ) : int[]

Method Details

GenerateCompactNaf() public static method

public static GenerateCompactNaf ( BigInteger k ) : int[]
k BigInteger
return int[]

GenerateCompactWindowNaf() public static method

public static GenerateCompactWindowNaf ( int width, BigInteger k ) : int[]
width int
k BigInteger
return int[]

GenerateJsf() public static method

public static GenerateJsf ( BigInteger g, BigInteger h ) : byte[]
g BigInteger
h BigInteger
return byte[]

GenerateNaf() public static method

public static GenerateNaf ( BigInteger k ) : byte[]
k BigInteger
return byte[]

GenerateWindowNaf() public static method

public static GenerateWindowNaf ( int width, BigInteger k ) : byte[]
width int
k BigInteger
return byte[]

GetNafWeight() public static method

public static GetNafWeight ( BigInteger k ) : int
k BigInteger
return int

GetWNafPreCompInfo() public static method

public static GetWNafPreCompInfo ( ECPoint p ) : WNafPreCompInfo
p ECPoint
return WNafPreCompInfo

GetWNafPreCompInfo() public static method

public static GetWNafPreCompInfo ( PreCompInfo preCompInfo ) : WNafPreCompInfo
preCompInfo PreCompInfo
return WNafPreCompInfo

GetWindowSize() public static method

public static GetWindowSize ( int bits ) : int
bits int
return int

GetWindowSize() public static method

public static GetWindowSize ( int bits, int windowSizeCutoffs ) : int
bits int
windowSizeCutoffs int
return int

MapPointWithPrecomp() public static method

public static MapPointWithPrecomp ( ECPoint p, int width, bool includeNegated, ECPointMap pointMap ) : ECPoint
p ECPoint
width int
includeNegated bool
pointMap ECPointMap
return ECPoint

Precompute() public static method

public static Precompute ( ECPoint p, int width, bool includeNegated ) : WNafPreCompInfo
p ECPoint
width int
includeNegated bool
return WNafPreCompInfo

Property Details

PRECOMP_NAME public_oe static_oe property

public static string PRECOMP_NAME
return string