Skip to content

Commit 72a9482

Browse files
author
Palmer Cox
committed
Add a comment to Sha1 that its not suitable for cryptogrpahic uses.
1 parent 653ee13 commit 72a9482

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustpkg/sha1.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
*
2121
* The `sha1` object may be reused to create multiple hashes by calling
2222
* the `reset` method.
23+
*
24+
* This implementation has not been reviewed for cryptographic uses.
25+
* As such, all cryptographic uses of this implementation are strongly
26+
* discouraged.
2327
*/
2428

2529

0 commit comments

Comments
 (0)