Commit Graph

26 Commits

Author SHA1 Message Date
Federico Ceratto
fa7f5742d3 Fix spellings (#12277) [backport]
(cherry picked from commit 39290cf88c)
2019-09-30 18:43:35 +02:00
Araq
5abe880469 last stdlib cleanups 2019-09-21 06:43:37 +02:00
Oscar Nihlgård
fd24a8923e [feature] Added std/monotimes 2019-07-12 10:15:06 +02:00
Araq
87a2ced1ba there is only one style -- my style 2019-07-10 19:17:06 +02:00
Araq
dc0bbba3fa make editdistance work with --styleCheck:error 2019-07-10 18:58:59 +02:00
Ivan Bobev
96523cdd3e Make public additional types from sha1 module [feature] (#11694)
* Make public additional types from sha1 module

After making public newSha1State, update and finalize methods from the
sha1 module was forgotten to be made public Sha1Digest and Sha1State
types used by the new public methods.

* Update changelog.md with sha1 module changes
2019-07-10 10:20:08 +02:00
Ivan Bobev
d914dca513 Make public some sha1 module procedures (#11655) [feature]
Make "newSha1State", "update" and "finalize" procedures from the sha1
module public in order to be possible to compute single sha1 hash of
multiple separate blocks of data.
2019-07-04 22:29:03 +02:00
c-blake
1394978347 Make secureHash accept any openArray[char], not only string. (#10988)
* Make `secureHash` accept any `openArray[char]`, not only `string`.

* Put in a changelog entry as per Araq request.
2019-04-10 17:48:22 +02:00
b3liever
695206a00c Add summation algorithms (#9284) 2019-02-13 23:30:14 +01:00
Thomas T. Jarløv
4a04470450 better docs: sha1 (#10374) 2019-01-19 15:24:39 +01:00
Oscar Nihlgård
5df411bd6e Revert export of times.CTime; add std/time_t instead. (#10319)
* Revert export of times.CTime
* Add std/time_t
2019-01-16 21:08:32 +01:00
jiro
e7fa8f3443 Add Example code to Documentation comment of wordWrap proc. (#10146) 2019-01-01 09:56:59 +01:00
Araq
eb8383cb28 move diff.nim to experimental 2018-12-12 17:48:30 +01:00
Araq
f080a15da1 diff.nim: massive code cleanups 2018-12-12 16:17:35 +01:00
Arne Döring
43ea41bdf4 added lib/std/diff.nim 2018-12-07 16:21:50 +01:00
Araq
84ca9d2903 add new stdlib modules to the changelog 2018-11-08 20:52:22 +01:00
Araq
56f76c5b08 better implementation for wrapWords 2018-11-08 20:52:22 +01:00
Arne Döring
4f787ac4f4 fill region 2018-11-08 20:52:22 +01:00
Arne Döring
13defcc9f6 add doc string 2018-11-08 20:52:22 +01:00
Arne Döring
1d7c36bd8c wordwrap stuff 2018-11-08 20:52:22 +01:00
Arne Döring
795d7e3217 WIP 2018-11-08 20:52:22 +01:00
LemonBoy
18023c023d Replace the sha1 implementation w/ a working one (#9242)
As #9239 points out the old implementation had some serious flaws.
The new implementation is a port of the MIT-licensed one used by
Chromium OS and has been tested against the FIPS-provided vectors and by
generating huge files like the ones mentioned in the issue above.

While I tried my best to take into account the existence of BE machines
the code has only been tested on a LE one.
2018-10-09 11:50:10 +02:00
Andreas Rumpf
cc11aa9698 varints module: critical bugfix 2018-06-22 03:19:30 +02:00
Torro
637ee7a151 Add note to import "std/sha1" to sha1.nim (doc) 2018-06-01 16:20:30 +02:00
Andreas Rumpf
04ddd069a1 added experimental undokumented std/varints module 2018-05-19 11:17:22 +02:00
Andreas Rumpf
70e8640244 move new sha1 module into the new 'std' namespace 2018-02-06 17:40:31 +01:00