C# Класс Coinium.Core.Crypto.Utils

Показать файл Открыть проект

Открытые методы

Метод Описание
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[]