[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130219005344.GB22634@openwall.com>
Date: Tue, 19 Feb 2013 04:53:44 +0400
From: Solar Designer <solar@...nwall.com>
To: discussions@...sword-hashing.net
Subject: Re: [PHC] Coding of the in[inlen] array for PHS( )
On Mon, Feb 18, 2013 at 03:57:21PM -0800, Larry Bugbee wrote:
> On Feb 18, 2013, at 3:00 PM, Solar Designer <solar@...nwall.com> wrote:
> > In PHS(), we deal with bytes.
>
> +1
>
> ...and said bytes/byte strings/byte arrays should be specified to be in network byte order.
No, byte order does not make sense for the password and salt inputs, and
the numeric inputs are just numbers (in the PHS() interface, they're
just size_t and unsigned int variables that have the correct values in
the host's native representation).
Alexander
Powered by blists - more mailing lists