2011/5/6 Amresh Sajjanshetty <amresh.saj...@gmail.com>: > Hi, > > Could you please tell me best Perl functions/modules for password encryption > and decryption? >
No. there is no such thing called decryption if you want to protect your passwords strictly. Generally we crypt the user's password with md5 or similar and store them to a database. When user input their username and password from the web from to login, we re-encrypt the password and compare it to the database. The encryption function could be md5: use Digest::MD5 'md5_hex'; my $crypt = md5_hex($password); -- Jeff Pang www.DNSbed.com -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/