Software /
code /
prosody
Diff
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 |
line wrap: on
line diff
--- 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;