Ludovic Courtès 33286075b9
hash: Add 'sha1'.
* guix/hash.scm (GCRY_MD_SHA1): New macro.
(bytevector-hash): New procedure.
(sha256): Express in terms of 'bytevector-hash'.
(sha1): New procedure.
* tests/hash.scm ("sha1, empty", "sha1, hello"): New tests.
2018-03-08 11:56:20 +01:00
..
2017-07-21 17:03:24 +02:00
2017-01-28 18:55:20 +01:00
2017-03-18 00:38:41 +01:00
2017-11-21 23:09:16 +01:00
2018-03-02 13:46:25 +01:00
2017-05-03 16:16:17 +02:00
2018-03-08 11:56:20 +01:00
2017-11-08 22:31:58 +01:00
2018-02-10 19:03:57 +01:00
2017-05-03 16:16:17 +02:00
2017-12-12 18:11:22 +01:00
2017-12-11 19:12:23 +00:00