What is Nostr?
jimbocoin / jimbocoin 🃏
npub1v9q…9q3h
2023-06-19 10:49:45
in reply to nevent1q…gcvq

jimbocoin on Nostr: Yes. To prove that a provider has stored a file for you: 1. Send the provider a ...

Yes. To prove that a provider has stored a file for you:

1. Send the provider a random nonce and a random byte range.
2. Ask the provider to concatenate the nonce to the substring of bytes from the file in the byte range, then hash the results and send them back. 3. Compare the hash to your own result of performing the same computation.

If the provider indeed has the file, then the hashes will match.
Author Public Key
npub1v9qy0ry6uyh36z65pe790qrxfye84ydsgzc877armmwr2l9tpkjsdx9q3h