C# 클래스 Secp256k1.BigIntExtensions

파일 보기 프로젝트 열기: TangibleCryptography/Secp256k1

공개 메소드들

메소드 설명
BitLength ( this i ) : int
GetBitcoinAddress ( this publicKey, bool compressed = true ) : string
HexToBigInteger ( this s ) : System.Numerics.BigInteger
HexToBytes ( this s ) : byte[]
ModInverse ( this n, System.Numerics.BigInteger p ) : System.Numerics.BigInteger
Order ( this b, System.Numerics.BigInteger p ) : System.Numerics.BigInteger
ShanksSqrt ( this a, System.Numerics.BigInteger p ) : System.Numerics.BigInteger
TestBit ( this i, int n ) : bool
ToBigInteger ( this bytes, bool bigEndian ) : System.Numerics.BigInteger
ToBigIntegerUnsigned ( this bytes, bool bigEndian ) : System.Numerics.BigInteger
ToByteArrayUnsigned ( this i, bool bigEndian ) : byte[]
ToHex ( this b ) : string

비공개 메소드들

메소드 설명
FindE ( System.Numerics.BigInteger p ) : System.Numerics.BigInteger
FindS ( System.Numerics.BigInteger p ) : System.Numerics.BigInteger
TwoExp ( System.Numerics.BigInteger e ) : System.Numerics.BigInteger

메소드 상세

BitLength() 공개 정적인 메소드

public static BitLength ( this i ) : int
i this
리턴 int

GetBitcoinAddress() 공개 정적인 메소드

public static GetBitcoinAddress ( this publicKey, bool compressed = true ) : string
publicKey this
compressed bool
리턴 string

HexToBigInteger() 공개 정적인 메소드

public static HexToBigInteger ( this s ) : System.Numerics.BigInteger
s this
리턴 System.Numerics.BigInteger

HexToBytes() 공개 정적인 메소드

public static HexToBytes ( this s ) : byte[]
s this
리턴 byte[]

ModInverse() 공개 정적인 메소드

public static ModInverse ( this n, System.Numerics.BigInteger p ) : System.Numerics.BigInteger
n this
p System.Numerics.BigInteger
리턴 System.Numerics.BigInteger

Order() 공개 정적인 메소드

public static Order ( this b, System.Numerics.BigInteger p ) : System.Numerics.BigInteger
b this
p System.Numerics.BigInteger
리턴 System.Numerics.BigInteger

ShanksSqrt() 공개 정적인 메소드

public static ShanksSqrt ( this a, System.Numerics.BigInteger p ) : System.Numerics.BigInteger
a this
p System.Numerics.BigInteger
리턴 System.Numerics.BigInteger

TestBit() 공개 정적인 메소드

public static TestBit ( this i, int n ) : bool
i this
n int
리턴 bool

ToBigInteger() 공개 정적인 메소드

public static ToBigInteger ( this bytes, bool bigEndian ) : System.Numerics.BigInteger
bytes this
bigEndian bool
리턴 System.Numerics.BigInteger

ToBigIntegerUnsigned() 공개 정적인 메소드

public static ToBigIntegerUnsigned ( this bytes, bool bigEndian ) : System.Numerics.BigInteger
bytes this
bigEndian bool
리턴 System.Numerics.BigInteger

ToByteArrayUnsigned() 공개 정적인 메소드

public static ToByteArrayUnsigned ( this i, bool bigEndian ) : byte[]
i this
bigEndian bool
리턴 byte[]

ToHex() 공개 정적인 메소드

public static ToHex ( this b ) : string
b this
리턴 string