diff -r b2ae91f4fec9 -r 89526c890363 libs/hashes.lua --- a/libs/hashes.lua Mon Nov 23 23:49:42 2020 +0100 +++ b/libs/hashes.lua Wed Feb 17 14:57:59 2021 +0100 @@ -10,6 +10,10 @@ if ok then f(pkg); end end +with("util.sha1", function (sha1) + _M.sha1 = sha1.sha1; +end); + with("bgcrypto.md5", function (md5) _M.md5 = md5.digest; _M.hmac_md5 = md5.hmac.digest;