3 ms·
It’s a protocol, not an implementation. If you say your implementation of the protocol says objects are defined by their hash, then your implementation can also
by ComputerGuru 3y ago
It’s a protocol, not an implementation. If you say your implementation of the protocol says objects are defined by their hash, then your implementation can also assert that the hash of the retrieved file matches the hash you looked it up with^ (which you should do in your library/app regardless of what the protocol says will be returned, though ideally your protocol would define some sort of merkle tree or whatever to verify the hash piecemeal).
^ which you, by definition, already have