Comparison

plugins/mod_auth_internal_hashed.lua @ 12355:a0ff5c438e9d

util.hex: Deprecate to/from in favour of encode/decode, for consistency!
author Matthew Wild <mwild1@gmail.com>
date Fri, 04 Mar 2022 15:22:45 +0000
parent 12128:593e823566e1
child 12646:3f38f4735c7a
comparison
equal deleted inserted replaced
12354:3ce3633527af 12355:a0ff5c438e9d
12 local scram_hashers = require "util.sasl.scram".hashers; 12 local scram_hashers = require "util.sasl.scram".hashers;
13 local usermanager = require "core.usermanager"; 13 local usermanager = require "core.usermanager";
14 local generate_uuid = require "util.uuid".generate; 14 local generate_uuid = require "util.uuid".generate;
15 local new_sasl = require "util.sasl".new; 15 local new_sasl = require "util.sasl".new;
16 local hex = require"util.hex"; 16 local hex = require"util.hex";
17 local to_hex, from_hex = hex.to, hex.from; 17 local to_hex, from_hex = hex.encode, hex.decode;
18 local saslprep = require "util.encodings".stringprep.saslprep; 18 local saslprep = require "util.encodings".stringprep.saslprep;
19 local secure_equals = require "util.hashes".equals; 19 local secure_equals = require "util.hashes".equals;
20 20
21 local log = module._log; 21 local log = module._log;
22 local host = module.host; 22 local host = module.host;