# HG changeset patch # User Kim Alvefur # Date 1547384549 -3600 # Node ID 60b445183d841e99fba7dbaf0cf657a4ebe42e98 # Parent a51d017e61736337dca5085420da6c1798445c76 util.sasl.scram: Add support for SCRAM-SHA-256 diff -r a51d017e6173 -r 60b445183d84 util/sasl/scram.lua --- a/util/sasl/scram.lua Sun Jan 13 14:01:31 2019 +0100 +++ b/util/sasl/scram.lua Sun Jan 13 14:02:29 2019 +0100 @@ -263,6 +263,7 @@ end registerSCRAMMechanism("SHA-1", hashes.sha1, hashes.hmac_sha1, hashes.pbkdf2_hmac_sha1); + registerSCRAMMechanism("SHA-256", hashes.sha256, hashes.hmac_sha256, hashes.pbkdf2_hmac_sha256); end return {