Blockchain and sha256 [21], t1 = Ch + k, t2 = Maj

BLOCKCHAIN

void main() {
    char rnd[128];
    ::sprintf(rnd, “3n + 1 conjecture”);
    unsigned char hash[32];
    CSHA256().Write((const unsigned char *)rnd, ::strlen(rnd)).Finalize(hash);
    hex_printf(&hash);
}

result hash (“3n + 1 conjecture”, t1 = Ch + k, t2 = Maj, sha256):
0x4c89ee984669f74be7d78bdd2bdf379adf931fc0270d037bae58725cba304c0a — (13)

タイトルとURLをコピーしました