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

Afficher le fichier Open project: Nethereum/Nethereum Class Usage Examples

Méthodes publiques

Свойство Type Description
PRECOMP_NAME string

Méthodes publiques

Méthode 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

Méthode Description
ResizeTable ( ECPoint a, int length ) : ECPoint[]
Trim ( byte a, int length ) : byte[]
Trim ( int a, int length ) : int[]

Method Details

GenerateCompactNaf() public static méthode

public static GenerateCompactNaf ( BigInteger k ) : int[]
k BigInteger
Résultat int[]

GenerateCompactWindowNaf() public static méthode

public static GenerateCompactWindowNaf ( int width, BigInteger k ) : int[]
width int
k BigInteger
Résultat int[]

GenerateJsf() public static méthode

public static GenerateJsf ( BigInteger g, BigInteger h ) : byte[]
g BigInteger
h BigInteger
Résultat byte[]

GenerateNaf() public static méthode

public static GenerateNaf ( BigInteger k ) : byte[]
k BigInteger
Résultat byte[]

GenerateWindowNaf() public static méthode

public static GenerateWindowNaf ( int width, BigInteger k ) : byte[]
width int
k BigInteger
Résultat byte[]

GetNafWeight() public static méthode

public static GetNafWeight ( BigInteger k ) : int
k BigInteger
Résultat int

GetWNafPreCompInfo() public static méthode

public static GetWNafPreCompInfo ( ECPoint p ) : WNafPreCompInfo
p ECPoint
Résultat WNafPreCompInfo

GetWNafPreCompInfo() public static méthode

public static GetWNafPreCompInfo ( PreCompInfo preCompInfo ) : WNafPreCompInfo
preCompInfo PreCompInfo
Résultat WNafPreCompInfo

GetWindowSize() public static méthode

public static GetWindowSize ( int bits ) : int
bits int
Résultat int

GetWindowSize() public static méthode

public static GetWindowSize ( int bits, int windowSizeCutoffs ) : int
bits int
windowSizeCutoffs int
Résultat int

MapPointWithPrecomp() public static méthode

public static MapPointWithPrecomp ( ECPoint p, int width, bool includeNegated, ECPointMap pointMap ) : ECPoint
p ECPoint
width int
includeNegated bool
pointMap ECPointMap
Résultat ECPoint

Precompute() public static méthode

public static Precompute ( ECPoint p, int width, bool includeNegated ) : WNafPreCompInfo
p ECPoint
width int
includeNegated bool
Résultat WNafPreCompInfo

Property Details

PRECOMP_NAME public_oe static_oe property

public static string PRECOMP_NAME
Résultat string