Crypt-PasswdMD5-1.2 > unix_md5_crypt

名前

unix_md5_crypt - 相互に利用可能なMD5ベースのcrypt()関数を提供します

概要

    use Crypt::PasswdMD5;

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

説明

unix_md5_crypt()は、最近のオペレーティング・システムにはある新しいMD5 ベースのcrypt()関数へのcrypt()-互換のインターフェースを提供します。 これはFreeBSD 2.2.[56]-リリースにある実装をベースとし、その中に 以下のライセンスを含んでいます:

 "THE BEER-WARE LICENSE" (Revision 42):
 <phk@login.dknet.dk> 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()はApacheの.htpasswdファイルと互換性のある関数を 提供します。これはBryan Hart <bryan@eai.com>により寄贈されました。 William A. Rowe, Jr. <wrowe@lnd.com>によって提案されたように、 これはデフォルトでexportされます。

翻訳者

川合孝典(GCD00051@nifty.ne.jp)