Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 11 Feb 2013 09:57:39 -0500
From: Jon Schipp <jonschipp@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: SSHA-512 supported?

$ time perl -e '$p = "{ssha512}04\$................"; print crypt("",
$p), "\n"; for ($n = 0; $n < 100000; $n++) { $c = crypt($n, $p); print
"$n $c\n" if ($c =~ /\.\.\.[^\$]*$/); }'
aFTwL7aZk7T3g
20109 I2bs2SMswT...
28238 Z7hb0Rh...Ins
34048 3JcpWGvHd...o
34663 30...cP3exBm6
46166 wK0Dw0nrZf...
51511 ...ZDFsFpaLEY
56585 C6h...lEE9Ex6
92918 QFsOst...H5sA

real    0m15.858s
user    0m12.843s
sys     0m0.005s

$ time perl -e '$p = "{ssha512}06\$................"; print crypt("",
$p), "\n"; for ($n = 0; $n < 100000; $n++) { $c = crypt($n, $p); print
"$n $c\n" if ($c =~ /\.\.\.[^\$]*$/); }'
XVmMB5rBrG0do
27600 NbWLc2...qJlA

real    0m15.858s
user    0m12.843s
sys     0m0.005s

On Sun, Feb 10, 2013 at 5:06 PM, Jon Schipp <jonschipp@...il.com> wrote:
> I'll run those commands Monday morning. Thanks!
>
> On Sat, Feb 9, 2013 at 9:19 PM, magnum <john.magnum@...hmail.com> wrote:
>> On 10 Feb, 2013, at 1:27 , Solar Designer <solar@...nwall.com> wrote:
>>> I am hoping that AIX's custom algorithm is available via crypt(3) and
>>> thus via Perl's crypt() as well, but I am not sure of that.  If this
>>> fails, we'll have to look for the right function to call...
>>
>> These posts indicate that {ssha1} is available via crypt(3):
>> http://fixunix.com/aix/535743-new-secure-password-hash-algorithms-aix-6-1-a.html
>>
>> /me thinks it will work for SHA-2 as well.
>>
>> magnum

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.