C# 클래스 Coinium.Core.Crypto.Utils

파일 보기 프로젝트 열기: Ziftr/CoiniumServ

공개 메소드들

메소드 설명
DoubleDigest ( this input ) : byte[]

See DoubleDigest(byte[], int, int).

DoubleDigest ( this input, int offset, int length ) : byte[]

Calculates the SHA-256 hash of the given byte range, and then hashes the resulting hash again. This is standard procedure in BitCoin. The resulting hash is in big endian form.

DoubleDigestTwoBuffers ( byte input1, int offset1, int length1, byte input2, int offset2, int length2 ) : byte[]

Calculates SHA256(SHA256(byte range 1 + byte range 2)).

메소드 상세

DoubleDigest() 공개 정적인 메소드

See DoubleDigest(byte[], int, int).
public static DoubleDigest ( this input ) : byte[]
input this
리턴 byte[]

DoubleDigest() 공개 정적인 메소드

Calculates the SHA-256 hash of the given byte range, and then hashes the resulting hash again. This is standard procedure in BitCoin. The resulting hash is in big endian form.
public static DoubleDigest ( this input, int offset, int length ) : byte[]
input this
offset int
length int
리턴 byte[]

DoubleDigestTwoBuffers() 공개 정적인 메소드

Calculates SHA256(SHA256(byte range 1 + byte range 2)).
public static DoubleDigestTwoBuffers ( byte input1, int offset1, int length1, byte input2, int offset2, int length2 ) : byte[]
input1 byte
offset1 int
length1 int
input2 byte
offset2 int
length2 int
리턴 byte[]