Prepare required data folder for integration tests
[prosody.git] / util / hmac.lua
blob4cad17cca7c0c1f6aaaf8c63ce91d7e8a966d45b
1 -- Prosody IM
2 -- Copyright (C) 2008-2010 Matthew Wild
3 -- Copyright (C) 2008-2010 Waqas Hussain
4 --
5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information.
7 --
9 -- COMPAT: Only for external pre-0.9 modules
11 local hashes = require "util.hashes"
13 return {
14 md5 = hashes.hmac_md5,
15 sha1 = hashes.hmac_sha1,
16 sha256 = hashes.hmac_sha256,
17 sha512 = hashes.hmac_sha512,