X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=util%2Fhmac.lua;h=6df6986e2f25f2b86d11e84a32d8902a0070ed22;hb=bc1374cd5504f95c9b7a1b3c95950753d414b105;hp=18c559b220d17fe0afbeaf0eaebd51e8dc3a621d;hpb=9450538570c47da9ba653106c1978beb3b4d8d60;p=prosody.git diff --git a/util/hmac.lua b/util/hmac.lua index 18c559b2..6df6986e 100644 --- a/util/hmac.lua +++ b/util/hmac.lua @@ -1,6 +1,6 @@ -- Prosody IM --- Copyright (C) 2008-2009 Matthew Wild --- Copyright (C) 2008-2009 Waqas Hussain +-- Copyright (C) 2008-2010 Matthew Wild +-- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. @@ -40,7 +40,7 @@ hash blocksize the blocksize for the hash function in bytes hex - return raw hash or hexadecimal string + return raw hash or hexadecimal string --]] function hmac(key, message, hash, blocksize, hex) if #key > blocksize then