Software /
code /
verse
Comparison
util/sasl/scram.lua @ 490:6b2f31da9610
Update for new Prosody module namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 20 May 2023 20:48:03 +0200 |
parent | 455:753d6983dc45 |
comparison
equal
deleted
inserted
replaced
489:39ed19f12dca | 490:6b2f31da9610 |
---|---|
1 | 1 |
2 local base64, unbase64 = require "mime".b64, require"mime".unb64; | 2 local base64, unbase64 = require "mime".b64, require"mime".unb64; |
3 local hashes = require"util.hashes"; | 3 local hashes = require"prosody.util.hashes"; |
4 local bit = require"bit"; | 4 local bit = require"bit"; |
5 local random = require"util.random"; | 5 local random = require"prosody.util.random"; |
6 | 6 |
7 local tonumber = tonumber; | 7 local tonumber = tonumber; |
8 local char, byte = string.char, string.byte; | 8 local char, byte = string.char, string.byte; |
9 local gsub = string.gsub; | 9 local gsub = string.gsub; |
10 local xor = bit.bxor; | 10 local xor = bit.bxor; |