Crypt::PasswdMD5 man page on ElementaryOS

Man page or keyword search:  
man Server   4994 pages
apropos Keyword Search (all sections)
Output format
ElementaryOS logo
[printable version]

PasswdMD5(3pm)	      User Contributed Perl Documentation	PasswdMD5(3pm)

       Crypt::PasswdMD5 - Provides interoperable MD5-based crypt() functions

	   use Crypt::PasswdMD5;

	   $cryptedpassword = unix_md5_crypt($password, $salt);
	   $apachepassword = apache_md5_crypt($password, $salt);

       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.[56]-RELEASE and contains the following license in it:

	"THE BEER-WARE LICENSE" (Revision 42):
	<> 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 <>.
       As suggested by William A. Rowe, Jr. <>, it is exported by

       For both functions, if a salt value is not supplied, a random salt will
       be generated.  Contributed by John Peacock <>.

       None by default.

       $Id:,v 1.3 2004/02/17 11:21:38 lem Exp $

	19980710 Initial release
	19990402 Added apache_md5_crypt to create a valid hash
			       for use in .htpasswd files
	20001006 Requested apache_md5_crypt to be
			       exported by default.
	20010706 Use Digest::MD5 instead of the (obsolete) MD5.

       $Log:,v $ Revision 1.3  2004/02/17 11:21:38	 lem Modified
       the POD so that ABSTRACT can work Added usage example for

       Revision 1.2  2004/02/17 11:04:35  lem Added patch for random salts
       from John Peacock (Thanks John!)	 De-MS-DOS-ified the file Replaced
       some '' with q// to make Emacs color highlighting happy Added CVS docs
       Completed the missing sections of the POD documentation Changed my
       email address to the Perl-related one for consistency The file is now
       encoded in ISO-8859-1

       This code and all accompanying software comes with NO WARRANTY. You use
       it at your own risk.

       This code and all accompanying software can be used freely under the
       same terms as Perl itself.

       Luis E. Mu\[ntilde]oz <>


perl v5.12.4			  2011-10-17			PasswdMD5(3pm)

List of man pages available for ElementaryOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net