Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 5 Aug 2011 02:36:44 +0200
From: Lukas Odzioba <>
Subject: SALT_SIZE

I've got a question what john does with SALT_SIZE constant in
fmt_main, and how it should looks.

In sha256/512 crypt salt looks like:

$5$salt(up to 16chars)$ciphertext
$5$rounds=(1000-999999999)$salt(up to 16chars)$ciphertext

It will be ok if my salt(char *ciphertext) return
(salt(upto16chars)+4Bytes int decoded rounds),and SALT_SIZE then would
be (16+4)?

Because john is comparing salts maybe just return everyting between
$5$ and $ciphertext adding rounds=DEFAULT if it is not present then:

will be reckognized as the same salt, and SALT_SIZE should be


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.