Skip to content

Commit

Permalink
Fix wrong hash reference in fingerprint creation
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavweiss committed Nov 14, 2017
1 parent 10b5b14 commit d32c533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft-ietf-httpbis-cache-digest.md
Expand Up @@ -252,7 +252,7 @@ Given the following inputs:
* `N`, an integer
* `f`, an integer indicating the number of output bits

1. Let `hash-value` be the return value of {{hash}} with `key` and `N` as inputs.
1. Let `hash-value` be the SHA-256 message digest {{RFC6234}} of `key`, expressed as an integer.
2. Let `h` be the number of bits in `hash-value`
3. Let `fingerprint-value` be 0
4. While `fingerprint-value` is 0 and `h` > `f`:
Expand Down

0 comments on commit d32c533

Please sign in to comment.