I don't quite get one part: from your example, only the hash of the data is stored in the blockchain; isn't the data supposed to be decrypted later? Where are the data messages ("transactions") stored then, if not in the block chain?
I'm very interested about an answer to your question. How would you implement it in the current example?
I'm interested in an answer from the author before proposing mine.
Too bad we can't tag people
Actually the point of the blockchain is to secure the immutability of data, not to encrypt it.
well hash defines a unique signature of a block, in real practice, the block also contains an index value, a data(record of transactions), a timestamp , and also the golden nonce value.The cryptographic hash dont account for decryption. Its like the address part of a data-structure, and the data is stored in the data part of the data-structure.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.