]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/hash.h
Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUser()...
[user/henk/code/inspircd.git] / src / modules / hash.h
index f7bf85e204d6ec57624b0106d8fb415d9a4fb54c..98a182165db5db05636cb60efdd31d7ee123969b 100644 (file)
@@ -40,20 +40,6 @@ class HashProvider : public DataProvider
                return BinToBase64(sum(data), NULL, 0);
        }
 
-       /** Allows the IVs for the hash to be specified. As the choice of initial IV is
-        * important for the security of a hash, this should not be used except to
-        * maintain backwards compatability. This also allows you to change the hex
-        * sequence from its default of "0123456789abcdef", which does not improve the
-        * strength of the output, but helps confuse those attempting to implement it.
-        *
-        * Example:
-        * \code
-        * unsigned int iv[] = { 0xFFFFFFFF, 0x00000000, 0xAAAAAAAA, 0xCCCCCCCC };
-        * std::string result = Hash.sumIV(iv, "fedcba9876543210", "data");
-        * \endcode
-        */
-       virtual std::string sumIV(unsigned int* IV, const char* HexMap, const std::string &sdata) = 0;
-
        /** HMAC algorithm, RFC 2104 */
        std::string hmac(const std::string& key, const std::string& msg)
        {