diff options
author | Kim Alvefur <zash@zash.se> | 2019-04-19 12:47:49 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-04-19 12:47:49 +0200 |
commit | df0fbd05149ac66b910e644a136667315218d57d (patch) | |
tree | 72ce21220a2acd07086dc704a786e79a6235358a | |
parent | 2ab687396c5b2bd4b461adf0e7edc7be296c8218 (diff) | |
download | prosody-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.lua | 1 |
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, }; |