Replying to Avatar jimmysong

Sketch of a protocol I discussed with nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s 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.

Interesting. Might work.

nostr:nevent1qqs2z80fa0sqhuh599eu39af2hrswedy4ap3px74jhat9fywdtyzvfspz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsygrm8auqxag8gm692sf6yg0cp9j7ajmfaucg7t4drk5feskgjyhfdqpsgqqqqqqsk3gk6r

Reply to this note

Please Login to reply.

Discussion

No replies yet.