From 56cae0f3a484cbcb20569b68917f1810a0c2f4a4 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 1 Apr 2013 00:54:58 +0200 Subject: Remove legacy code, mostly related to 1.2 compatibility --- src/modules/hash.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/modules/hash.h') diff --git a/src/modules/hash.h b/src/modules/hash.h index f7bf85e20..98a182165 100644 --- a/src/modules/hash.h +++ b/src/modules/hash.h @@ -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) { -- cgit v1.2.3