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-01-26 13:49:56 +01:00
2015-11-26 22:35:01 +01:00
2018-03-02 13:46:25 +01:00
2015-10-19 10:10:47 +02:00
2017-11-11 15:33:04 +01:00
2016-09-01 13:40:49 +03:00
2018-03-08 11:56:20 +01:00
2017-03-18 00:39:49 +01:00
2017-09-28 13:10:10 +02:00
2017-06-18 00:14:07 +02:00
2017-11-25 18:12:33 +01:00
2017-06-15 17:03:19 +02:00
2017-10-06 14:16:23 +02:00
2017-11-17 10:47:49 +01:00