Blockchain and sha256 [4], Initialize

投稿者: | 01/23/2022

The hash has an initial value.
And if operation doesn’t work, this initial value will come out.

ハッシュには初期値があります。
そして、演算が動作しない場合は、この初期値が出てきます。

void Initialize(uint32_t* s)
{
s[0] = 0x6a09e667ul;
s[1] = 0xbb67ae85ul;
s[2] = 0x3c6ef372ul;
s[3] = 0xa54ff53aul;
s[4] = 0x510e527ful;
s[5] = 0x9b05688cul;
s[6] = 0x1f83d9abul;
s[7] = 0x5be0cd19ul;
}