Password Encryption

From: Mike Blezien (mickalo_at_frontiernet.net)
Date: 12/28/04


Date: Tue, 28 Dec 2004 08:14:37 -0600
To: Perl List <beginners@perl.org>

Hello,

Been trying to figure out how to encrypt a password w/Perl so it's uses the same
scheme used in a webmin control panel for password protecting directories. It
says it's the MD5 method, but I have tried serveral variations using the MD5 and
Digest::MD5 but can't seem to find the correct format. This is a sample of a
encyrpted password generated by the control panel:
$1$03838433$k1ZFcLyZ13Q8tU.3WpK9o1

Is there a Perl method to encrypt plain text password in this same manner ??

TIA. :)

-- 
Mike(mickalo)Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=