1
$\begingroup$

Why is an Initialization Vector used in a hash function?

Some hash functions do not seem to need an IV, why do other hash functions need one?

$\endgroup$
  • $\begingroup$ Because hash functions are recursively defined to consume data and update state? $\endgroup$ – SEJPM Jan 17 '17 at 10:25
  • $\begingroup$ But we can find sometimes the specification of a hash function without an IV $\endgroup$ – Guest16 Jan 17 '17 at 10:36
  • $\begingroup$ @Guest16 Can you give an example? All the popular hashes I can think of have an IV (MD5, SHA1,2,3, Skein, Blake, Tiger, etc.) Technically it's possible to avoid IVs, but that doesn't seem common. $\endgroup$ – CodesInChaos Jan 17 '17 at 11:42
  • $\begingroup$ I have found it in a scientific research paper : in sometimes an IV is used to compute a hash value however in other times it is not used please find a screenshot of two different examples found in the paper $\endgroup$ – Guest16 Jan 17 '17 at 13:40
  • $\begingroup$ I could not attach the secreenshot $\endgroup$ – Guest16 Jan 17 '17 at 13:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.