Dikaios1517 on Nostr: Isn't is both a guess and check, though? Guess the nonce, run it all through SHA-256 ...
Isn't is both a guess and check, though?
Guess the nonce, run it all through SHA-256 complex math algo to get a hash, and see if that hash meets the criteria to be considered valid.
No? Then replace the nonce with a new guess and run the math again to get a new hash.
So it is both guessing AND doing complex math to check.
And by complex math, I only mean that you can't simply look at the mathematical functions and the output (the hash) you would need from them and work backwards to figure out what the input (the nonce) needs to be.
Published at
2024-04-12 20:31:18Event JSON
{
"id": "7afd9a366ba12f149726f933bb33d74c7f16710e5a68d9e2d02ca5f50e6a80fc",
"pubkey": "b7274d28e3e983bf720db4b4a12a31f5c7ef262320d05c25ec90489ac99628cb",
"created_at": 1712953878,
"kind": 1,
"tags": [
[
"e",
"385966e2061b8e51f6c28042f422e72e62fa08b968e90a9fe2478d87340385c1",
"",
"root"
],
[
"p",
"e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
]
],
"content": "Isn't is both a guess and check, though?\n\nGuess the nonce, run it all through SHA-256 complex math algo to get a hash, and see if that hash meets the criteria to be considered valid.\n\nNo? Then replace the nonce with a new guess and run the math again to get a new hash.\n\nSo it is both guessing AND doing complex math to check. \n\nAnd by complex math, I only mean that you can't simply look at the mathematical functions and the output (the hash) you would need from them and work backwards to figure out what the input (the nonce) needs to be. ",
"sig": "1741d96870ef9d3d5d7bbaec1f465823d23c77d6d92864229aa259413670ea37e88adf9cfab2c4381ade95328af6aaa21d2e59b9f7b4028572de8b1a4944245e"
}