[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tool to crypt a password



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Feb 06, 2017 at 05:43:32PM +0100, Nicolas George wrote:
> L'octidi 18 pluviôse, an CCXXV, Greg Wooledge a écrit :
> > I wrote this many years ago.  It's primitive, but may suit:
> > 
> > http://wooledge.org/~greg/crypt/
> 
> Indeed. Unfortunately, it suffers from a limitation similar to the one
> of htpasswd: it only supports 3DES, the oldest and weakest hashing
> algorithm.

My version of htpasswd (apache2-utils 2.4.10-10+deb8u7) supports
MD5 (-m), bcrypt (-B, with settable computing cost, -C), crypt (-d),
SHA (-s), and plaintext (-p, duh :-D

Default is MD5.

AFAIR it prefixes the passwords with the method, so they can be mixed
and matched in one file.

So perhaps it is what you are looking for.

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAliY4qoACgkQBcgs9XrR2kbl/ACeLvkB8Nr19jqTuTgStwuQZXFU
WJIAnjYZELhrBAfpQefPU/D8EG5vhUjb
=Z7ZM
-----END PGP SIGNATURE-----


Reply to: