Back to front pageView on Hacker News (opens in a new tab)Show HN: This page exists only if someone is looking at it (opens in a new tab)ephemeralp2p.durazo.us803 pointsby losvedir (on Hacker News)11 years agoComments (165) 50 threadsShow all commentsShowing thread 14 of 50[-]tjallingt11 years ago3 replies#Does this also mean that, technically, I can edit the page and someone else, who connects after my edits, gets to see my edited page?Jonovono11 years ago#I think you'd have to send them a link with the new hash in it. If you sent them the current page, the hash wouldn't match your changes.losvedir11 years ago#Sneaky! But, no, the server double checks that the content you're sending hashes to the correct thing.[0][0] https://github.com/losvedir/ephemeral2/blob/master/web/chann...jammaloo11 years ago#As mentioned on the page, it does a sha-256 hash of the content, which you can think of as a fingerprint of the page.If the content you get sent doesn't match that fingerprint, it will reject it.
Show HN: This page exists only if someone is looking at it (opens in a new tab)ephemeralp2p.durazo.us803 pointsby losvedir (on Hacker News)11 years ago
tjallingt11 years ago3 replies#Does this also mean that, technically, I can edit the page and someone else, who connects after my edits, gets to see my edited page?
Jonovono11 years ago#I think you'd have to send them a link with the new hash in it. If you sent them the current page, the hash wouldn't match your changes.
losvedir11 years ago#Sneaky! But, no, the server double checks that the content you're sending hashes to the correct thing.[0][0] https://github.com/losvedir/ephemeral2/blob/master/web/chann...
jammaloo11 years ago#As mentioned on the page, it does a sha-256 hash of the content, which you can think of as a fingerprint of the page.If the content you get sent doesn't match that fingerprint, it will reject it.
Comments (165) 50 threads
Show all comments
Showing thread 14 of 50
[0] https://github.com/losvedir/ephemeral2/blob/master/web/chann...
If the content you get sent doesn't match that fingerprint, it will reject it.