Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 16 Mar 2013 22:21:58 +0530
From: Dhiru Kholia <dhiru.kholia@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Cisco - Password type 4 - SHA256

On Sat, Mar 16, 2013 at 9:13 PM, Vlatko Kosturjak <kost@...ux.hr> wrote:
> On Sat, Mar 16, 2013 at 07:24:53PM +0530, Dhiru Kholia wrote:
>> I have made a crappy format for this,
>> https://github.com/kholia/JohnTheRipper/tree/cisco-type-4
>
> Man, you're fast. I was at middle of the writing the same.

There is lot of room for improvement in my patch. Please continue your
work and submit patches to fix / speed-up things.

(I am adding you as collaborator on GitHub)

>> Ideally, one time base64 decoding should be used instead of repetitive
>> base64 encoding.
>
> I guess decode would go in get_binary function in order not to be called
> repetitively, encode should be removed from crypt_all and cmp_* f()
> should do comparisons against decoded hash?

Exactly.

-- 
Dhiru

Powered by blists - more mailing lists

Your e-mail address:

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