Date: Mon, 2 Jul 2012 19:07:01 -0500 From: "jfoug" <jfoug@....net> To: <john-dev@...ts.openwall.com> Subject: RE: New -list function added to bleeding. -list=format-methods I used override, due to my background in C++ All of the methods are implemented. The 'fmt_default_WHICH' is the base implementation. NULL should be viewed as a 'pure virtual' in C++. I.e. bad, and should be set to default. When a format author writes his own, he has overridden the default method. However, the naming really means little to me. If others want it changed, that is fine, the output is what is important anyway. Btw, sha1-raw-LI does have a get-source ;) See why this information was needed. >-----Original Message----- >From: magnum [mailto:john.magnum@...hmail.com] >Sent: Monday, July 02, 2012 6:09 PM >To: john-dev@...ts.openwall.com >Subject: Re: [john-dev] New -list function added to bleeding. - >list=format-methods > >On 2012-07-02 19:31, jfoug wrote: >> This will list all 'non-default' (i.e. methods which have been >> overridden), within each format. > >This is useful. IMHO it should say "implemented" rather than >"overridden". That would be more intuitive to me. > >Anyway, I see unexpected output in this case: > >../run/john --list=format-methods:get_source >(...) >Methods overridden for: raw-sha1-linkedin [128/128 SSE2 intrinsics 8x] >Raw SHA-1 LinkedIn > valid() > split() > binary() > binary_hash() > binary_hash() > binary_hash() > binary_hash() > binary_hash() > binary_hash() > set_key() > get_key() > get_hash() > get_hash() > get_hash() > get_hash() > get_hash() > get_hash() > crypt_all() > cmp_all() > cmp_one() > cmp_exact() > get_source() > >This format use fmt_default_get_source, not sure why it's listed as >having its own? The other listed ones seem correct. > >magnum
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.