move securehash back into the stdlib
This commit is contained in:
parent
0181253eea
commit
e0e1241a54
5 changed files with 5 additions and 4 deletions
|
|
@ -127,8 +127,6 @@ This now needs to be written as:
|
||||||
- The behavior of ``$`` has been changed for all standard library collections. The
|
- The behavior of ``$`` has been changed for all standard library collections. The
|
||||||
collection-to-string implementations now perform proper quoting and escaping of
|
collection-to-string implementations now perform proper quoting and escaping of
|
||||||
strings and chars.
|
strings and chars.
|
||||||
- Removed ``securehash`` stdlib module as it is not secure anymore. The module
|
|
||||||
is still available via ``compiler/securehash``.
|
|
||||||
- The ``random`` procs in ``random.nim`` have all been deprecated. Instead use
|
- The ``random`` procs in ``random.nim`` have all been deprecated. Instead use
|
||||||
the new ``rand`` procs. The module now exports the state of the random
|
the new ``rand`` procs. The module now exports the state of the random
|
||||||
number generator as type ``Rand`` so multiple threads can easily use their
|
number generator as type ``Rand`` so multiple threads can easily use their
|
||||||
|
|
|
||||||
|
|
@ -380,6 +380,9 @@ Cryptography and Hashing
|
||||||
* `base64 <base64.html>`_
|
* `base64 <base64.html>`_
|
||||||
This module implements a base64 encoder and decoder.
|
This module implements a base64 encoder and decoder.
|
||||||
|
|
||||||
|
* `securehash <securehash.html>`_
|
||||||
|
This module implements a sha1 encoder and decoder.
|
||||||
|
|
||||||
|
|
||||||
Multimedia support
|
Multimedia support
|
||||||
------------------
|
------------------
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ when haveZipLib:
|
||||||
|
|
||||||
import
|
import
|
||||||
os, osproc, strutils, parseopt, parsecfg, strtabs, streams, debcreation,
|
os, osproc, strutils, parseopt, parsecfg, strtabs, streams, debcreation,
|
||||||
"../../compiler/securehash"
|
securehash
|
||||||
|
|
||||||
const
|
const
|
||||||
maxOS = 20 # max number of OSes
|
maxOS = 20 # max number of OSes
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ srcdoc2: "pure/asyncfile;pure/asyncftpclient;pure/lenientops"
|
||||||
srcdoc2: "pure/md5;pure/rationals"
|
srcdoc2: "pure/md5;pure/rationals"
|
||||||
srcdoc2: "posix/posix;pure/distros;pure/oswalkdir"
|
srcdoc2: "posix/posix;pure/distros;pure/oswalkdir"
|
||||||
srcdoc2: "pure/collections/heapqueue"
|
srcdoc2: "pure/collections/heapqueue"
|
||||||
srcdoc2: "pure/fenv;impure/rdstdin;pure/strformat"
|
srcdoc2: "pure/fenv;pure/securehash;impure/rdstdin;pure/strformat"
|
||||||
srcdoc2: "pure/segfaults"
|
srcdoc2: "pure/segfaults"
|
||||||
srcdoc2: "pure/basic2d;pure/basic3d;pure/mersenne;pure/coro;pure/httpcore"
|
srcdoc2: "pure/basic2d;pure/basic3d;pure/mersenne;pure/coro;pure/httpcore"
|
||||||
srcdoc2: "pure/bitops;pure/nimtracker;pure/punycode;pure/volatile;js/asyncjs"
|
srcdoc2: "pure/bitops;pure/nimtracker;pure/punycode;pure/volatile;js/asyncjs"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue