lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 18 Mar 2015 16:50:06 +1300
From: Peter Gutmann <>
Subject: Re: [PHC] pre-hashed passwords?

Jean-Philippe Aumasson <> writes:

>(After reading this nice post about passwords including null bytes:

They've identified the wrong problem though, it's not the pre-hashing, it's
the fact that they're feeding binary data to an API that doesn't support it.
It's strcat()/strcmp()/strcpy() all over again.

>Has anyone already seen password hashes "pre-hashing" a password, to handle
>length limitations? 

Only HMAC, with its annoying duality where an input string larger than the
hash input size is hashed down before being used as a key, so you have two
different keys, a hash value and its preimage, valid to key each HMAC.


Powered by blists - more mailing lists