Метод | Описание | |
---|---|---|
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)).
|
public static DoubleDigest ( this input ) : byte[] | ||
input | this | |
Результат | byte[] |
public static DoubleDigest ( this input, int offset, int length ) : byte[] | ||
input | this | |
offset | int | |
length | int | |
Результат | byte[] |
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[] |