Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150512075257.GA25396@openwall.com>
Date: Tue, 12 May 2015 10:52:57 +0300
From: Aleksey Cherepanov <lyosha@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: displaying full meta information about hashes with
 --show=types

Shinnok,

On Tue, May 12, 2015 at 10:06:12AM +0300, Shinnok wrote:
> Aleksey,
> 
> Printing all builtin formats per every hash,

No, it does not do that.

> Is this necessary since you can't certainly know which class a particular hash falls into 100% (so you are probing for candidates and nothing more) or something else? Can you skip the empty parts lines?

--show=types prints only valid formats: the given hash can be loaded
as any of this formats (and I think the first not disabled format of
the first loadable hash will be used if --format= is not used).

--show=types does not print all formats. There are 173 formats not
counting dynamics.

If hash can't be loaded then the printed list of formats for this hash
is empty.

> > The format:
[...]
> > For each valid format (may be nothing):

> > With breaks to describe parts:
> > 
> > About hash: login, hash, ...
> > NONE:0ed7dd550afb451ac5b94cb644310b09:::/:/:/::
> > 
> > By type:
> > 
> >     number of parts
> >     v     hash 1                 hash 2
> > LM:0:2:0:$LM$0ed7dd550afb451a:0:$LM$c5b94cb644310b09:
> > HAVAL-128-4:0:1:0:$haval$0ed7dd550afb451ac5b94cb644310b90:
> > 
> >           the canonical hash is the same as input hash
> >           | so there is empty string here
> >           v v
> > lotus5:0:1:1::
> > MD2:0:1:1::mdc2:0:1:1::
> > mscash:0:1:1::
> > mscash2:0:1:1::
> > NT:0:1:0:$NT$0ed7dd550afb451ac5b94cb644310b09:
> > Raw-MD4:0:1:0:$MD4$0ed7dd550afb451ac5b94cb644310b09:
> > Raw-MD5:0:1:0:$dynamic_0$0ed7dd550afb451ac5b94cb644310b09:
> > Raw-MD5u:0:1:0:$dynamic_29$0ed7dd550afb451ac5b94cb644310b09:
> > ripemd-128:0:1:0:$ripemd$0ed7dd550afb451ac5b94cb644310b09:
> > Snefru-128:0:1:1::
> > NT-old:0:1:0:$NT$0ed7dd550afb451ac5b94cb644310b09:

    ^^
Each of these formats can load the hash
0ed7dd550afb451ac5b94cb644310b09 .

Is it useful this way?

Thanks!

-- 
Regards,
Aleksey Cherepanov

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.