[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Password hashing?



On Fri, May 23, 2003 at 04:36:14PM -0400, kend@xanoptix.com wrote:
> userPassword:: e0NSWVBUfXtDQm9lcWtuSG5CUXc=
> 
> So, my question is:
> 
> 1) How, via ldapsearch or Perl, do I pull the original {CRYPT} hash?

One way is to do:

echo "e0NSWVBUfXtDQm9lcWtuSG5CUXc=" | openssl base64 -d

> 2) Failing that, how do I convert the {CRYPT} hash to the spiffy "::"
>    format?

It's base64 encoded