Commit cff86e9
committed
remove rationale comment for HACL* MD5
In this commit, we move the rationale for using HACL*-based MD5
instead of its OpenSSL implementation from the code to this note.
HACL*-based MD5 is 2x faster than its OpenSSL implementation for
creating the hash object via `h = md5(..., usedforsecurity=False)`
but `h.digest()` is slightly (yet noticeably) slower.
Overall, HACL*-based MD5 still remains faster than its OpenSSL-based
implementation, whence the choice of `_md5.md5` over `hashlib.md5`.1 parent c1ffa7d commit cff86e9
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
731 | | - | |
732 | | - | |
733 | 731 | | |
734 | 732 | | |
735 | 733 | | |
| |||
0 commit comments