diff options
Diffstat (limited to 'src/modules/hash.h')
-rw-r--r-- | src/modules/hash.h | 14 |
1 files changed, 0 insertions, 14 deletions
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) { |