Crypt-PasswdMD5 - Provides interoperable MD5-based crypt() functions
the "unix_md5_crypt()" provides a crypt()-compatible interface to the
rather new MD5-based crypt() function found in modern operating systems.
It's based on the implementation found on FreeBSD 2.2.-RELEASE and
contains the following license in it:
"THE BEER-WARE LICENSE" (Revision 42):
<email@example.com> wrote this file. As long as you retain this notice you
can do whatever you want with this stuff. If we meet some day, and you think
this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
"apache_md5_crypt()" provides a function compatible with Apache's
".htpasswd" files. This was contributed by Bryan Hart <firstname.lastname@example.org>.
As suggested by William A. Rowe, Jr. <email@example.com>, it is
exported by default.
For both functions, if a salt value is not supplied, a random salt will be
generated. Contributed by John Peacock <firstname.lastname@example.org>.