What is Nostr?
jimmysong /
npub10vl…sp42
2024-10-04 00:50:09

jimmysong on Nostr: Sketch of a protocol I discussed with jb55 for proving storage of a file. before ...

Sketch of a protocol I discussed with jb55 (npub1xts…kk5s) for proving storage of a file.

before uploading, select 32 random bytes from the file, store their indices and the sha256 hash. do this 1000 more times (select 32 different random byes, calc sha256).

upload the file to the server. every day, ask for the hash of the 32 bytes at the indices stored from the server. if it matches transfer some sats. if not the server no longer has the file. you can check for 1000 days.
Author Public Key
npub10vlhsqm4qar0g42p8g3plqyktmktd8hnprew45w638xzezgja95qapsp42