Dear list members,
I have a Perl script which crypts a password using a clearteaxt password
and a username.
Example:
username = '[EMAIL PROTECTED]'
password = 'root'
The crypted password is: 'roK20XGbWEsSM'
The crypted password always starts with the first 2 characters of the
username
Nico Grubert [EMAIL PROTECTED] writes:
Example:
username = '[EMAIL PROTECTED]'
password = 'root'
The crypted password is: 'roK20XGbWEsSM'
that looks like you want crypt(3), not md5. See:
http://docs.python.org/lib/module-crypt.html
Sample session:
import crypt
print