aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-04-19 12:47:49 +0200
committerKim Alvefur <zash@zash.se>2019-04-19 12:47:49 +0200
commit1d11df9a67d5f650d1ff4404ba7d6668df99875e (patch)
tree72ce21220a2acd07086dc704a786e79a6235358a /util
parent8e2e187ff819b98ebae24f2a5ebd9994a2d41c2f (diff)
downloadprosody-1d11df9a67d5f650d1ff4404ba7d6668df99875e.tar.gz
prosody-1d11df9a67d5f650d1ff4404ba7d6668df99875e.zip
util.hmac: Expose hmac-sha-512 too
All these are provided by util.hashes so why not?
Diffstat (limited to 'util')
-rw-r--r--util/hmac.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/hmac.lua b/util/hmac.lua
index f3caae33..4cad17cc 100644
--- a/util/hmac.lua
+++ b/util/hmac.lua
@@ -14,4 +14,5 @@ return {
md5 = hashes.hmac_md5,
sha1 = hashes.hmac_sha1,
sha256 = hashes.hmac_sha256,
+ sha512 = hashes.hmac_sha512,
};