summary refs log tree commit diff stats
path: root/lib/std/sha1.nim
Commit message (Collapse)AuthorAgeFilesLines
* move tests to testament (#16101)flywind2020-11-241-13/+0
| | | | | | | | | * move tests to testament * minor * fix random * disable test random
* Do not read the whole file to compute SHA1 hash (fixes 15997) (#16006)Igor Ribeiro de Assis2020-11-181-1/+16
| | | | | | | | | | | | | | | | | * Do not read the whole file to compute SHA1 hash (fixes 15997) * Update lib/std/sha1.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update lib/std/sha1.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Directly break from loop Co-authored-by: Andreas Rumpf <rumpf_a@web.de> [backport:1.2] [backport:1.4]
* Fix many broken linksJjp1372019-10-221-3/+3
| | | | | | Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol.
* there is only one style -- my styleAraq2019-07-101-58/+58
|
* Make public additional types from sha1 module [feature] (#11694)Ivan Bobev2019-07-101-2/+2
| | | | | | | | | | * 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
* Make public some sha1 module procedures (#11655) [feature]Ivan Bobev2019-07-041-3/+3
| | | | | 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.
* Make `secureHash` accept any `openArray[char]`, not only `string`. (#10988)c-blake2019-04-101-1/+1
| | | | | | * Make `secureHash` accept any `openArray[char]`, not only `string`. * Put in a changelog entry as per Araq request.
* better docs: sha1 (#10374)Thomas T. Jarløv2019-01-191-1/+64
|
* Replace the sha1 implementation w/ a working one (#9242)LemonBoy2018-10-091-160/+167
| | | | | | | | | 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.
* Add note to import "std/sha1" to sha1.nim (doc)Torro2018-06-011-0/+2
|
* move new sha1 module into the new 'std' namespaceAndreas Rumpf2018-02-061-0/+195