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.
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.