util/hmac.lua

changeset 1522
569d58d21612
parent 1516
4c9bd0527d1d
child 2269
770a75623ed7
child 2923
b7049746bd29
equal deleted inserted replaced
1521:cee81a5ae949 1522:569d58d21612
1 -- Prosody IM
2 -- Copyright (C) 2008-2009 Matthew Wild
3 -- Copyright (C) 2008-2009 Waqas Hussain
4 --
5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information.
7 --
8
1 local hashes = require "util.hashes" 9 local hashes = require "util.hashes"
2 local xor = require "bit".bxor 10 local xor = require "bit".bxor
3 11
4 local t_insert, t_concat = table.insert, table.concat; 12 local t_insert, t_concat = table.insert, table.concat;
5 local s_char = string.char; 13 local s_char = string.char;

mercurial