Re: Decryt AES / try to guess salt



On Wed, 29 Apr 2009 20:59:36 +0200, Tim Ritberg <tim_rit@xxxxxx>
wrote:

rossum schrieb:

No. The relevant part of the code reads:

if (i % (hashRounds / 16) == 0)
{
NSha1::CContext shaTemp = sha;
Byte digest[NSha1::kDigestSize];
shaTemp.Final(digest);
aesInit[i / (hashRounds / 16)] = (Byte)digest[4 * 4 + 3];
}

You complete a copy of the hash, shaTemp.Final(), and then extract one
byte into the IV. This is repeated 15 more times at regular intervals
through the hashing process.
Is this C oder C++?

It is C++ as far as I can tell. The "::" element is not legal C, at
least it wasn't when I last worked in C a very long time ago.

The Pascal equivalent is ".": NSha1.Context or NSha1.kDigestSize
referring to the NSha1 class.

rossum

.



Relevant Pages

  • Re: Decryt AES / try to guess salt
    ... You complete a copy of the hash, shaTemp.Final, and then extract one ... referring to the NSha1 class. ...
    (sci.crypt)
  • Re: PASSWORD SECURITY ON DOMAIN CONTROLLER (PWDUMP)
    ... impossible to extract a user's password from a desktop on a network? ... Andrei Ungureanu wrote: ... There are some tools that can extract the hash from the cached credentials ...
    (microsoft.public.win2000.active_directory)
  • Re: ARC4 as a hash function
    ... rossum wrote: ... So here is an idea for a newHash ... Inevitably ARC4 was the first stream cypher that came to ... Looking at ARC4 it seems to me that the ARC4 key schedule could ...
    (sci.crypt)
  • Re: SignedXml.Signature.SignatureValue hash
    ... csharp, .net 2.0, VC 2005, for timestamping signatures with TSA. ... My problem is extract and get from SignedXml.Signature.SignatureValue ... I have spent lot of time on this, but cant see how extract hash from ... verify that signature of given hash is valid; ...
    (microsoft.public.dotnet.security)
  • Text Parser Help Please
    ... a context and starts with the @ symbol. ... hash key for the task. ... I gues the best way might be to extract each marker assin it to a hash ...
    (comp.lang.ruby)