plugins/mod_auth_internal_hashed.lua
changeset 12359 a0ff5c438e9d
parent 12132 593e823566e1
child 12650 3f38f4735c7a
--- a/plugins/mod_auth_internal_hashed.lua	Fri Mar 04 15:03:02 2022 +0000
+++ b/plugins/mod_auth_internal_hashed.lua	Fri Mar 04 15:22:45 2022 +0000
@@ -14,7 +14,7 @@
 local generate_uuid = require "util.uuid".generate;
 local new_sasl = require "util.sasl".new;
 local hex = require"util.hex";
-local to_hex, from_hex = hex.to, hex.from;
+local to_hex, from_hex = hex.encode, hex.decode;
 local saslprep = require "util.encodings".stringprep.saslprep;
 local secure_equals = require "util.hashes".equals;