From 72a9482b3f656a009304de9cfa05011083045e4f Mon Sep 17 00:00:00 2001 From: Palmer Cox
Date: Tue, 22 Oct 2013 23:26:47 -0400 Subject: [PATCH] Add a comment to Sha1 that its not suitable for cryptogrpahic uses. --- src/librustpkg/sha1.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/librustpkg/sha1.rs b/src/librustpkg/sha1.rs index 38bfc51841fb..04efbfffe15c 100644 --- a/src/librustpkg/sha1.rs +++ b/src/librustpkg/sha1.rs @@ -20,6 +20,10 @@ * * The `sha1` object may be reused to create multiple hashes by calling * the `reset` method. + * + * This implementation has not been reviewed for cryptographic uses. + * As such, all cryptographic uses of this implementation are strongly + * discouraged. */