summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-12-14 20:49:08 +0100
committerAraq <rumpf_a@web.de>2017-12-14 20:49:08 +0100
commitda2f689e09d9eb6a3a3af6c5f7f8f06fc17c48ea (patch)
tree3f18226b474cbb18eace5b98b5e803c81f140670
parent6df6ec27ec573fc7f619f7bf9fece6d6b0dc931f (diff)
downloadNim-da2f689e09d9eb6a3a3af6c5f7f8f06fc17c48ea.tar.gz
fixes #6033
-rw-r--r--changelog.md2
-rw-r--r--compiler/securehash.nim (renamed from lib/pure/securehash.nim)0
-rw-r--r--doc/lib.rst2
-rw-r--r--web/website.ini2
4 files changed, 3 insertions, 3 deletions
diff --git a/changelog.md b/changelog.md
index 6065ccd10..e0f481f23 100644
--- a/changelog.md
+++ b/changelog.md
@@ -126,3 +126,5 @@ This now needs to be written as:
 - The behavior of ``$`` has been changed for all standard library collections. The
   collection-to-string implementations now perform proper quoting and escaping of
   strings and chars.
+- Removed ``securehash`` stdlib module as it is not secure anymore. The module
+  is still available via ``compiler/securehash``.
diff --git a/lib/pure/securehash.nim b/compiler/securehash.nim
index 57c1f3631..57c1f3631 100644
--- a/lib/pure/securehash.nim
+++ b/compiler/securehash.nim
diff --git a/doc/lib.rst b/doc/lib.rst
index 21d3dc8cc..959c3ef9b 100644
--- a/doc/lib.rst
+++ b/doc/lib.rst
@@ -376,8 +376,6 @@ Cryptography and Hashing
 * `base64 <base64.html>`_
   This module implements a base64 encoder and decoder.
 
-* `securehash <securehash.html>`_
-  This module implements a sha1 encoder and decoder.
 
 Multimedia support
 ------------------
diff --git a/web/website.ini b/web/website.ini
index 17a062eae..a158e3b47 100644
--- a/web/website.ini
+++ b/web/website.ini
@@ -64,7 +64,7 @@ srcdoc2: "pure/asyncfile;pure/asyncftpclient;pure/lenientops"
 srcdoc2: "pure/md5;pure/rationals"
 srcdoc2: "posix/posix;pure/distros;pure/oswalkdir"
 srcdoc2: "pure/collections/heapqueue"
-srcdoc2: "pure/fenv;pure/securehash;impure/rdstdin"
+srcdoc2: "pure/fenv;impure/rdstdin"
 srcdoc2: "pure/segfaults"
 srcdoc2: "pure/basic2d;pure/basic3d;pure/mersenne;pure/coro;pure/httpcore"
 srcdoc2: "pure/bitops;pure/nimtracker;pure/punycode;pure/volatile"