aboutsummaryrefslogtreecommitdiffstats
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
commitdf0fbd05149ac66b910e644a136667315218d57d (patch)
tree72ce21220a2acd07086dc704a786e79a6235358a
parent2ab687396c5b2bd4b461adf0e7edc7be296c8218 (diff)
downloadprosody-df0fbd05149ac66b910e644a136667315218d57d.tar.gz
prosody-df0fbd05149ac66b910e644a136667315218d57d.zip
util.hmac: Expose hmac-sha-512 too
All these are provided by util.hashes so why not?
-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,
};