Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ECA7F8F.9060106@linuxasylum.net>
Date: Mon, 21 Nov 2011 17:42:55 +0100
From: Samuele Giovanni Tonon <samu@...uxasylum.net>
To: john-dev@...ts.openwall.com
Subject: Re: best way to get ciphertext

On 11/21/11 17:34, Lukas Odzioba wrote:
> 2011/11/21 Samuele Giovanni Tonon <samu@...uxasylum.net>:
> 
>> i wish i could call binary() but i need ciphertext which is available
>> only at a "superior" layer.
>>
>> any idea ?
> 
> Oh yeah it is a problem then.
> What about moving crypt_all code to cmp_all and leaving crypt_all empty?
> If there were no set_salt or set_key calls between last cmp_all call
> then don't do hash calculations inside cmp_all - just in case.
> It is ugly solution but it might work.

i wish i could: between crypt_all and cmp_all (or cmp_one)
get_hash_N() are called and they need the first chunk to be processed
in order to return the right data.

this of course applies if i want that primary test to work and not just
having get_hash_N() and binary_hash_N() return TRUE no matter what
(which is kind pointless) .

Regards
Samuele

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.