Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

perl pasword encryption, work with PHP

Status
Not open for further replies.

m4trix

Vendor
Jul 31, 2002
84
CA
I have a php script that uses the PHP md5() function which "Returns an encrypted hash of it's parameter, using the RSA algorythm."

What I'm wondering is, is there any perl modules or anything that will allow me to verify passwords using this encryption system? Just as a test, I tried with perl's crypt() function, but they are obviously different as didn't work.

Any suggestions? If it can't be done directly, would I be able to write a short PHP script that the perl script could use to validate the password? thanks
 
The [tt]md5_hex()[/tt] function provided by the Digest::MD5 module will produce the same output as the php [tt]md5()[/tt] function.

jaa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top