Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 4 May 2015 18:33:48 +0300
From: Aleksey Cherepanov <>
Subject: Re: Generic parsing functions -- prototype

On Mon, Mar 30, 2015 at 02:29:46AM +0300, Alexander Cherepanov wrote:
> - hex. Do we need variants for lower- and upper-case?

>From formats.h:
/* Splits a ciphertext into several pieces and returns the piece with given
 * index, starting from 0 (will usually return the ciphertext unchanged).
 * For hex-encoded hashes which are compared by the target system/application
 * irrespective of the case of characters (upper/lower/mixed) used in their
 * encoding, split() must unify the case (e.g., convert to all-lowercase)
 * and FMT_SPLIT_UNIFIES_CASE must be set. */
	char *(*split)(char *ciphertext, int index, struct fmt_main *self);

For example, raw-sha512 reads hex in any case and makes lower case in

Flags in fmt_main of raw-sha512:


Aleksey Cherepanov

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.