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

Re: password encryption




On Mon, Jun 19, 2000 at 10:58:59AM -0500, Steven Pritchard wrote:
> Danny Sauer said:
> > Sometimes I'll put a little time in and use
> >  echo password | perl -le 'print crypt($_, (A..Z)[rand 25].(A..Z)[rand 25])';
> 
> How about
> 
>     perl -MString::Random=random_string -lne \
>         'print crypt($_, random_string("ss"));'
> 
> (That's exactly what I wrote the module for...)

One more reason for me to sit down and memorize every perl module that exists
and what it can be used for... :)

--Danny, who has enough to do already...

--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.