mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 06:37:37 +03:00
util.sasl.scram: Add support for SCRAM-SHA-256
This commit is contained in:
parent
73acfb61b4
commit
49e8cbabff
1 changed files with 1 additions and 0 deletions
|
@ -263,6 +263,7 @@ local function init(registerMechanism)
|
|||
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue