Re: XOR passphrase with a constant

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


Date: 30 May 2005 11:41:59 -0700

Yes the constant is known to all 3rd parties but the basic idea is if
you have two constants C1 and C2 and a single passphrase P and produce

MD5(C1 + P) and MD5(C2+ P) it is impossible to determine from the
hashes if the same passphrase was used in both cases without actually
knowing what one was.

Each of these hashes can then be used in further steps in an algorithm
on their respective systems and if an attacker manages to obtain one of
these hashes, it will not produce the same results in the later stages
of the other system.

I can't explain it better than that and I'm sure it seems odd. Mostly I
am just curious to how these constants effect widely used hash
functions and how you can incoporate things unique to a system into
passphrases so that if the same passphrase is used across more than one
system, this fact is not revealed.

Basically my question is if both MD5(C1 + P) and MD5(C2 + P) become
known to the attacker is the attackers task of finding P made any
easier assuming they already know both C1 and C2?



Relevant Pages

  • Re: Passwords: length vs. complexity
    ... number of characters in it, but by the number of tokens. ... character passphrase consists of 7 words, ... Always consider an attacker with inside knowledge. ...
    (Security-Basics)
  • Re: XOR passphrase with a constant
    ... to the attacker it does not immediately provide progress in either direction ... hashes that it provides progress on, ... passphrase, even if it is know to the attacker, then it can be considered ... passphrase could have enough entropy that the apparent entropy overflows ...
    (sci.crypt)
  • RE: Crypto Question
    ... make it infeasible for an attacker to break it, then making it any larger is ... that your passphrase strength matters if an attacker can get access to the ... passphrases that are truly difficult to brute force, and indeed, most people ... PGP / XML GATEWAY APPLIANCE ...
    (Security-Basics)
  • Re: PGP scripting...
    ... > If the passphrase were to be entered by hand, say at boot time or some ... This will close the problem of recovering a ready-to-use key from some ... there's still holes here - if the attacker gets access to the server's ... % gdb your.server -p ...
    (SecProg)
  • Re: Someone said 256 bits is not enough
    ... A lot depends on what the attacker looks at first, ... never guess your passphrase. ... Another tries all ASCII characters. ... tell this gives a challenge to the sorts of guessing described. ...
    (sci.crypt)