Skip to content

Commit 46b78e5

Browse files
ahankinsonzimeon
authored andcommitted
Fixed: Clarify algorithm choice requirements (#296)
* Fixed: Clarify algorithm choice requirements Fixes #291 * Fixed: Adjust wording from review
1 parent c3ddb06 commit 46b78e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

draft/spec/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -417,10 +417,10 @@ <h2>Digests</h2>
417417
to determine whether a file has become corrupt, through hardware degradation or accident for example.
418418
</p>
419419
<p>
420-
For content-addressing, OCFL Objects MUST use either <code>sha512</code> or <code>sha256</code>
421-
digests, and SHOULD use <code>sha512</code> digests. The choice of the <code>sha512</code> digest
422-
algorithm recognizes that it has no known collision vulnerabilities and is less computationally
423-
intensive to compute than <code>sha256</code>, [[Stop-Using-SHA-256]].
420+
For content-addressing, OCFL Objects SHOULD use <code>sha512</code>. The choice of the <code>sha512</code>
421+
digest algorithm as default recognizes that it has no known collision vulnerabilities, is less
422+
computationally intensive to compute than <code>sha256</code>, [[Stop-Using-SHA-256]], and multiple
423+
implementations are available.
424424
</p>
425425
<p>
426426
For storage of additional fixity values, and perhaps to support legacy content migration, implementers

0 commit comments

Comments
 (0)