Comparison

util/sasl/scram.lua @ 2648:538dd5f1810a

util.sasl.scram: Removed unnecessary dependency on bitlib.
author Waqas Hussain <waqas20@gmail.com>
date Tue, 16 Feb 2010 04:02:37 +0500
parent 2314:c2e1bde4d84d
child 2990:21933063dd9f
child 3094:5f625411b463
comparison
equal deleted inserted replaced
2647:0ddb3c4dc9d1 2648:538dd5f1810a
13 13
14 local s_match = string.match; 14 local s_match = string.match;
15 local type = type 15 local type = type
16 local string = string 16 local string = string
17 local base64 = require "util.encodings".base64; 17 local base64 = require "util.encodings".base64;
18 local xor = require "bit".bxor
19 local hmac_sha1 = require "util.hmac".sha1; 18 local hmac_sha1 = require "util.hmac".sha1;
20 local sha1 = require "util.hashes".sha1; 19 local sha1 = require "util.hashes".sha1;
21 local generate_uuid = require "util.uuid".generate; 20 local generate_uuid = require "util.uuid".generate;
22 local saslprep = require "util.encodings".stringprep.saslprep; 21 local saslprep = require "util.encodings".stringprep.saslprep;
23 local log = require "util.logger".init("sasl"); 22 local log = require "util.logger".init("sasl");