comparison util/hmac.lua @ 9959:45caa32992b6

util.hmac: Expose hmac-sha-512 too All these are provided by util.hashes so why not?
author Kim Alvefur <zash@zash.se>
date Fri, 19 Apr 2019 12:47:49 +0200
parents d879f2253c2d
children adfb46a3e8a7
comparison
equal deleted inserted replaced
9958:d879f2253c2d 9959:45caa32992b6
12 12
13 return { 13 return {
14 md5 = hashes.hmac_md5, 14 md5 = hashes.hmac_md5,
15 sha1 = hashes.hmac_sha1, 15 sha1 = hashes.hmac_sha1,
16 sha256 = hashes.hmac_sha256, 16 sha256 = hashes.hmac_sha256,
17 sha512 = hashes.hmac_sha512,
17 }; 18 };