Changes between Version 1 and Version 2 of TaggedHash
- Timestamp:
- 2007-05-04T14:18:52Z (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TaggedHash
v1 v2 1 1 Each place a hash function is used within Tahoe, the data to be hashed is first prepended with a distinct "tag", one per purpose. 2 2 3 These tags are encoded as a NetString, to insure that they cannot be confused with the data being hashed. For example, the VerifierId is computed as the SHA-256 hash of the following string:3 These tags are encoded as a [http://cr.yp.to/proto/netstrings.txt netstring], to insure that they cannot be confused with the data being hashed. For example, the VerifierId is computed as the SHA-256 hash of the following string: 4 4 {{{ 5 5 "23:allmydata_verifierid_v1," + DATA