Blockchain and sha256 [19], d – h swap

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”, d – h swap, sha256):
0x6c9d1b7476c45c822b28774797ff9edeebc0333d9d154b277cdd1551005e3fa1 — (11)

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