Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 7 May 2020 13:41:31 +0200
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: Is the example of HMAC-SHA512 right?

On 2020-05-07 04:28, gyula wrote:
>> So we have a feature request here.  We don't seem to have a directly corresponding GitHub issue yet (I'll create one shortly),
>> although addition of HMAC support to the dynamic format compiler would happen to support both orderings of key and data:
> 
> Hi, I studied the doucument of dynamic in John but didn’t found the usage of HMAC support in it.  Actually,  the hash I want to crack is the dozens of iterations of HMAC-SHA512. What should I do now with John.

Are you sure it's not actually PBKDF2-HMAC-SHA512 you need?

The format for that is:
$pbkdf2-hmac-sha512$<num_iterations>.<hex_salt>.<hex_hash>

For example:
$pbkdf2-hmac-sha512$1000.6b635263736c70346869307a304b5276.80cf814855f2299103a6084366e41d7e14f9894b05ed77fa19881d28f06cde18da9ab44972cd00496843371ce922c70e64f3862b036b59b581fe32fc4408fe49

The number of iterations is given in decimal, not hex.

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.