Re: XOR passphrase with a constant

From: Andrew (anelless_at_gmail.com)
Date: 05/28/05


Date: 28 May 2005 05:48:15 -0700

Are you saying that prepending a constant string to the passphrase also
doesn't change the entropy or give any further advantage to an
attacker? (with common hashes like MD5 and SHA)

I have read up on the HMAC approach. The known string (or key if I used
the HMAC approach) will be known to the attacker... but there is a good
reason for it's use.



Relevant Pages

  • Re: HMAC issues
    ... Sounds like you're using SHA1dbl rather than SHA1d. ... Practical Cryptograhy as h) and does much the same as what HMAC ... which your attacker mustn't know. ... and its crypto articles seem to be reasonably ...
    (sci.crypt)
  • Re: MACs + Encryption + same Key
    ... HMAC with MD5 using K, ... encryption key. ... So, the scenario permits ... the attacker to corrupt the ciphertext in order to pass the integrity check. ...
    (sci.crypt)
  • Re: HMAC vs hash+salt
    ... > I don't really understand the advantage of HMAC over hash+salt ... > As in HMAC, the authentication scheme is ... MAC is designed to protect a message agains modifications by somebody ... then an attacker can replace AAA with ABA and reuse your `MAC'. ...
    (Security-Basics)
  • Re: MACs + Encryption + same Key
    ... Eris Pluvia wrote: ... cipher text *and* the HMAC value. ... I suspect you are assuming that the attacker would only substitute the ... cipher text but not the HMAC value. ...
    (sci.crypt)