@willmean
Nothing here yet.
Nothing here yet.
No blogs yet.
A cryptographic hash (sometimes called ‘digest’) is a kind of ‘signature’ for a text or a data file. SHA-256 generates an almost-unique 256-bit (32-byte) signature for a text. A hash is not ‘encryption’ – it cannot be decrypted back to the original text (it is a ‘one-way’ cryptographic function, and is a fixed size for any size of source text). This makes it suitable when it is appropriate to compare ‘hashed’ versions of texts, as opposed to decrypting the text to obtain the original version. Such applications include hash tables, integrity verification, challenge handshake authentication, digital signatures, etc. ‘ challenge handshake authentication ’ (or ‘challenge hash authentication’) avoids transmissing passwords in ‘clear’ – a client can send the hash of a password over the internet for validation by a server without risk of the original password being intercepted anti-tamper – link a hash of a message to the original, and the recipient can re-hash the message and compare it to the supplied hash: if they match, the message is unchanged; this can also be used to confirm no data-loss in transmission digital signatures are rather more involved, but in essence, you can sign the hash of a document by encrypting it with your private key, producing a digital signature for the document. Anyone else can then check that you authenticated the text by decrypting the signature with your public key to obtain the original hash again, and comparing it with their hash of the text. I think this makes it pretty clear as to why SHA256 would be used for blockchains. This is an excerpt from https://www.movable-type.co.uk/scripts/sha256.html. :)
People who are scared to code have a different perspective about programming. #1 They think programming looks like following: #2 Most of the time, these people aren't afraid of coding, they are afraid of learning something new. #3 They lack patience. How can we encourage? Proper counselling by someone informed. Showing the demo.