Follow us on Twitter or via RSS feeds with tweets or complete announcement texts or excerpts
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 11 Sep 2010 00:57:07 +0400
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: Different appending and prepending

On Fri, Sep 10, 2010 at 04:40:15PM -0400, Rich Rumble wrote:
> This simple ruleset:
> $[0-9]$[0-9]
> ^[0-9]^[0-9]
> Seems to crack differently, meaning the appended 00-99 appears
> to count 00,01,02,03,04...90,91,92... etc while the prepending
> appears to 01,02....09 then 10,20,30...90, then 11,21,31...91

Not exactly.  It is 00, 10, ..., 90, 01, 11, 21, ..., 89, 99.

> It's no big deal, I just noticed it a minute ago and thought I'd see
> if that's expected or not.

This is the expected behavior.  It matches the documented behavior for
the individual features you're combining here.

Against Minga's advice, I'll mention that it is better to rewrite the
ruleset as:

Az"[0-9][0-9]"
A0"[0-9][0-9]"

Then the order will be more natural.  And it may also be faster (one
command instead of two).

Alexander

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux - Powered by OpenVZ