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 | 1d11df9a67d5f650d1ff4404ba7d6668df99875e (patch) | |
tree | 72ce21220a2acd07086dc704a786e79a6235358a /util | |
parent | 8e2e187ff819b98ebae24f2a5ebd9994a2d41c2f (diff) | |
download | prosody-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.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, }; |