http://qs321.pair.com?node_id=665966

Trihedralguy has asked for the wisdom of the Perl Monks concerning the following question:

I'm sure this has been discussed here before. However it's possibly listed by the actual modules name rather than a straight question.
Anyway! I'm working on an application that will be external that users will be able to register a username and password with this system.
I have been reading up on MD5 passwords and I was wondering, whats the best way to generate one of these based of a string.
In my readings I have also learned about how you shouldn't just use the straight string to encrypt with MD5 but to append a salt to the users password before encrypting it.
Is there a perl module that wraps all of this up pretty nicely and does the MD5 call and manages the salt for me? Thanks for any comments or suggestions anyone can provide :)