Software /
code /
prosody
Comparison
util/sasl.lua @ 292:33175ad2f682
Started using realm in password hashing, and added support for error message replies from sasl
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 16 Nov 2008 01:54:14 +0500 |
parent | 288:dc53343af9ac |
child | 294:5d861d6e5bbd |
comparison
equal
deleted
inserted
replaced
291:5672d2be1bf3 | 292:33175ad2f682 |
---|---|
1 | 1 |
2 local base64 = require "base64" | 2 local base64 = require "base64" |
3 local md5 = require "md5" | 3 local md5 = require "md5" |
4 local crypto = require "crypto" | 4 --local crypto = require "crypto" |
5 local log = require "util.logger".init("sasl"); | 5 local log = require "util.logger".init("sasl"); |
6 local tostring = tostring; | 6 local tostring = tostring; |
7 local st = require "util.stanza"; | 7 local st = require "util.stanza"; |
8 local generate_uuid = require "util.uuid".generate; | 8 local generate_uuid = require "util.uuid".generate; |
9 local s_match = string.match; | 9 local s_match = string.match; |