You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a suggestion for implementing (tell me if it doesn't make sense for the project):
File integrity: Append the hash of of the previous index value of data (SHA-256) to the newest index value. This prevents tampering with file contents, because every machine can check to make sure that the appended block hash of some index is equal to the block hash of the (index - 1) contents.
Further clarification with this image:
Keep in mind that h_0 represents hash of the newest data || h_1, and h_1 is the hash of data || h_2, and so on. This nested check ensures file integrity.
Mutability requires a re-computation of the hashes, but can only be done with a key.
Feedback? Will this fit in the 1000-line requirement?
The text was updated successfully, but these errors were encountered:
Just a suggestion for implementing (tell me if it doesn't make sense for the project):
Further clarification with this image:
Keep in mind that h_0 represents hash of the newest data || h_1, and h_1 is the hash of data || h_2, and so on. This nested check ensures file integrity.
Mutability requires a re-computation of the hashes, but can only be done with a key.
Feedback? Will this fit in the 1000-line requirement?
The text was updated successfully, but these errors were encountered: