cvs: peardoc /ja/package/encryption crypt-chap.xml /ja/package/encryption/crypt-chap generate-challenge.xml intro.xml
/ja/package/encryption/crypt-chap/crypt-chap-md5 challenge-response.xml crypt-chap-md5.xml /ja/package/encryption/crypt-chap/crypt-chap-mschapv1
challenge-response.xml crypt-chap-mschapv1.xml lm-challenge-response.xml lm-password-hash.xml nt-challenge-response.xml nt-password-hash.xml
response.xml str2unicode.xml /ja/package/encryption/crypt-chap/crypt-chap-mschapv2 challenge-hash.xml crypt-chap-mschapv2.xml
nt-password-hash-hash.xml
| From: | TAKAGI Masahiro | Date: | Sun, 19 Nov 2006 06:07:22 +0000 |
| Subject: | cvs: peardoc /ja/package/encryption crypt-chap.xml /ja/package/encryption/crypt-chap generate-challenge.xml intro.xml /ja/package/encryption/crypt-chap/crypt-chap-md5 challenge-response.xml crypt-chap-md5.xml /ja/package/encryption/crypt-chap/crypt-chap-mschapv1 challenge-response.xml crypt-chap-mschapv1.xml lm-challenge-response.xml lm-password-hash.xml nt-challenge-response.xml nt-password-hash.xml response.xml str2unicode.xml /ja/package/encryption/crypt-chap/crypt-chap-mschapv2 challenge-hash.xml crypt-chap-mschapv2.xml nt-password-hash-hash.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8829@lists.php.net to get a copy of this message | ||
takagi Sun Nov 19 06:07:22 2006 UTC
Added files:
/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2
nt-password-hash-hash.xml
crypt-chap-mschapv2.xml
challenge-hash.xml
/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1
str2unicode.xml
response.xml
nt-password-hash.xml
nt-challenge-response.xml
lm-password-hash.xml
lm-challenge-response.xml
crypt-chap-mschapv1.xml
challenge-response.xml
/peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5
crypt-chap-md5.xml
challenge-response.xml
/peardoc/ja/package/encryption/crypt-chap intro.xml
generate-challenge.xml
/peardoc/ja/package/encryption crypt-chap.xml
Log:
initial translation.
http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/nt-password-hash-hash.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/nt-password-hash-hash.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/nt-password-hash-hash.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv2::ntPasswordHashHash()</refname> <refpurpose>NT ããã·ã¥ããã¨ã«ã㦠MD4 ããã·ã¥ã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv2::ntPasswordHashHash</function></funcdef> <paramdef>string <parameter>$nthash</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãæå®ãã NT ããã·ã¥ãã MD4 ããã·ã¥ã使ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $nthash</parameter> - ããã·ã¥ã®å¯¾è±¡ã¨ãªã NT ããã·ã¥ã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash.return"> &title.returns; <para> <parameter>string</parameter> - NT ããã·ã¥ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv2::ntPasswordHashHash</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv2(); $nthash = $cr->ntPasswordHash('MyPw'); echo bin2hex($cr->ntPasswordHashHash($nthash)); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/crypt-chap-mschapv2.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/crypt-chap-mschapv2.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/crypt-chap-mschapv2.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv2"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv2::Crypt_CHAP_MSCHAPv2()</refname> <refpurpose>ã³ã³ã¹ãã©ã¯ã¿</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Crypt/CHAP.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Crypt_CHAP_MSCHAPv2::Crypt_CHAP_MSCHAPv2</function></funcdef> <paramdef> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.desc"> &title.desc; <para> MS-CHAPv2 ã«æºæ ãããã±ããã使ããããã®æ°ãããªãã¸ã§ã¯ããçæãã¾ãã ãã®ãã¼ã¸ã§ã³ã® CHAP 㯠Peer-Challenge ã使ç¨ããLM ããã·ã¥ã¯ä½¿ç¨ããã¾ããã ãã®ã³ã³ã¹ãã©ã¯ã¿ã¯ãèªåçã« Peer-Challenge 㨠Authenticator-Challenge ã使ãã¾ãã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/challenge-hash.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/challenge-hash.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/challenge-hash.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv2.challengehash"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv2::challengeHash()</refname> <refpurpose>ãã£ã¬ã³ã¸-ããã·ã¥ã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv2::challengeHash</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.challengehash.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ã(SHA1) ãã£ã¬ã³ã¸-ããã·ã¥ã使ãã¾ãã ãã®ããã·ã¥ã«ã¯ãèªè¨¼ç¬¦å·ããã¢ãã£ã¬ã³ã¸ãããã¦ã¦ã¼ã¶åãå«ã¾ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.challengehash.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸-ããã·ã¥ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.challengehash.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.challengehash.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv2::challengeHash</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv2(); $cr->username = 'billy'; $cr->peerChallenge = $peerChallenge; $cr->authChallenge = $authChallenge; echo bin2hex($cr->challengeHash()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/str2unicode.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/str2unicode.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/str2unicode.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::str2unicode()</refname> <refpurpose>æååã unicode ã«å¤æãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::str2unicode</function></funcdef> <paramdef>string <parameter>$str</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãæå®ããæååã unicode ã«å¤æãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $str</parameter> - unicode åããæååã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode.return"> &title.returns; <para> <parameter>string</parameter> - æå®ããæååã unicode 夿ãããã®ãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::str2unicode</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); echo bin2hex($cr->str2unicode('MyPw')); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/response.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/response.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/response.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.response"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::response()</refname> <refpurpose>ã¬ã¹ãã³ã¹ãã±ããã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::response</function></funcdef> <paramdef>bool <parameter>$lm = &false;</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.response.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãã¬ã¹ãã³ã¹ãã±ããã使ãã¾ãã ãã®ãã±ããã«ã¯ NT ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ã LM ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãå«ã¾ãã¾ããããã©ã«ãã§ã¯ãLM ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ã¯å«ã¾ãã¾ããã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.response.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>bool $lm</parameter> - LM ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãå«ãããã©ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.response.return"> &title.returns; <para> <parameter>string</parameter> - ãã±ãããæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.response.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.response.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::response</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->password = 'MyPw'; echo bin2hex($cr->response()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-password-hash.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-password-hash.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-password-hash.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::ntPasswordHash()</refname> <refpurpose>æå®ããå¹³æãã¹ã¯ã¼ããã NT ããã·ã¥ã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::ntPasswordHash</function></funcdef> <paramdef>string <parameter><optional>$password = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãæå®ããå¹³æãã¹ã¯ã¼ããããã¯ãã¹ã¯ã¼ãããããã£ãã LAN-Manager ããã·ã¥ã使ãã¾ããNT ããã·ã¥ã¯ md4(str2unicode(plaintext)) ã®ããã«ãã¦è¨ç®ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $password</parameter> - ããã·ã¥ãããã¹ã¯ã¼ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash.return"> &title.returns; <para> <parameter>string</parameter> - NT ããã·ã¥ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::ntPasswordHash</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->password = 'MyPw'; echo bin2hex($cr->ntPasswordHash()); // ããã㯠echo bin2hex($cr->ntPasswordHash('MySecret')); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-challenge-response.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-challenge-response.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-challenge-response.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntchallengeresponse"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::ntChallengeResponse()</refname> <refpurpose>NT ããã·ã¥ã使ç¨ãã¦ããã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::ntChallengeResponse</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntchallengeresponse.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãNT ããã·ã¥ã使ç¨ãã¦ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntchallengeresponse.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntchallengeresponse.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntchallengeresponse.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::ntChallengeResponse</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->password = 'MyPw'; echo bin2hex($cr->ntChallengeResponse()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-password-hash.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-password-hash.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-password-hash.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::lmPasswordHash()</refname> <refpurpose>æå®ããå¹³æãã¹ã¯ã¼ããã LAN-Manager ããã·ã¥ã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::lmPasswordHash</function></funcdef> <paramdef>string <parameter><optional>$password = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãæå®ããå¹³æãã¹ã¯ã¼ããããã¯ãã¹ã¯ã¼ãããããã£ãã LAN-Manager ããã·ã¥ã使ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $password</parameter> - ããã·ã¥ãããã¹ã¯ã¼ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash.return"> &title.returns; <para> <parameter>string</parameter> - LAN-Manager ããã·ã¥ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash.note"> &title.note; ¬e.notstatic; <para> LAN-Manager ããã·ã¥ã¯å¼·åã§ã¯ãªãã®ã§ã使ç¨ãã¹ãã§ã¯ããã¾ããã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::lmPasswordHash</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->password = 'MyPw'; echo bin2hex($cr->lmPasswordHash()); // ããã㯠echo bin2hex($cr->lmPasswordHash('MySecret')); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-challenge-response.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-challenge-response.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-challenge-response.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmchallengeresponse"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::lmChallengeResponse()</refname> <refpurpose>LAN-Manager ããã·ã¥ã使ç¨ãã¦ããã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::lmChallengeResponse</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmchallengeresponse.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãLAN-Manager ããã·ã¥ã使ç¨ãã¦ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmchallengeresponse.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmchallengeresponse.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmchallengeresponse.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::lmChallengeResponse</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->password = 'MyPw'; echo bin2hex($cr->lmChallengeResponse()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/crypt-chap-mschapv1.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/crypt-chap-mschapv1.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/crypt-chap-mschapv1.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::Crypt_CHAP_MSCHAPv1()</refname> <refpurpose>ã³ã³ã¹ãã©ã¯ã¿</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Crypt/CHAP.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Crypt_CHAP_MSCHAPv1::Crypt_CHAP_MSCHAPv1</function></funcdef> <paramdef> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.desc"> &title.desc; <para> MS-CHAPv1 ã«æºæ ãããã±ããã使ããããã®æ°ãããªãã¸ã§ã¯ããçæãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.note"> &title.note; <para> ãã®ã¯ã©ã¹ã使ç¨ããã«ã¯ãmhash æ¡å¼µã¢ã¸ã¥ã¼ã«ãå¿ è¦ã§ãã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/challenge-response.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/challenge-response.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/challenge-response.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.challengeresponse"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::challengeResponse()</refname> <refpurpose>ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::challengeResponse</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.challengeresponse.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ããã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.challengeresponse.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ãããæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.challengeresponse.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.challengeresponse.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::challengeResponse</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->chapid = 1; $cr->password = 'MyPw'; echo bin2hex($cr->challengeResponse()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/crypt-chap-md5.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/crypt-chap-md5.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/crypt-chap-md5.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-md5"> <refnamediv> <refname>Crypt_CHAP_MD5::Crypt_CHAP_MD5()</refname> <refpurpose>ã³ã³ã¹ãã©ã¯ã¿</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Crypt/CHAP.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Crypt_CHAP_MD5::Crypt_CHAP_MD5</function></funcdef> <paramdef> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-md5.desc"> &title.desc; <para> CHAP-MD5 ã«æºæ ãããã±ããã使ããããã®æ°ãããªãã¸ã§ã¯ããçæãã¾ãã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/challenge-response.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/challenge-response.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/challenge-response.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-md5.challengeresponse"> <refnamediv> <refname>Crypt_CHAP_MD5::challengeResponse()</refname> <refpurpose>ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MD5::challengeResponse</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-md5.challengeresponse.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ããã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã¾ãã md5(ID + Password + Challenge) ã使ç¨ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-md5.challengeresponse.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ãããæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-md5.challengeresponse.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-md5.challengeresponse.example"> &title.example; <example> <title><function>Crypt_CHAP_MD5::challengeResponse</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MD5(); $cr->password = 'MyPw'; echo bin2hex($cr->challengeResponse()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/intro.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/intro.xml +++ peardoc/ja/package/encryption/crypt-chap/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.intro"> <refnamediv> <refname>å°å ¥</refname> <refpurpose>æå·å</refpurpose> </refnamediv> <refsect1 id="package.encryption.crypt-chap.intro.desc"> <title>CHAP - ãã£ã¬ã³ã¸ãã³ãã·ã§ã¤ã¯èªè¨¼ãããã³ã« (Challenge Handshake Authentication Protocol)</title> <para> CHAP ã¯é常㯠PPP (Point-to-Point Protocol) ã½ããã¦ã§ã¢ã«èªè¨¼ãµãã·ã¹ãã ã¨ãã¦çµã¿è¾¼ã¾ãã¦ãã¾ãã CHAP ã使ç¨ããã¨ãå¹³æã®ãã¹ã¯ã¼ããå±éºãªãªã³ã¯ä¸ã«éä¿¡ãããã¨ãé²ãã¾ãã ä¼çµ±ç㪠CHAP-MD5 ã¯ããã¹ã¯ã¼ããå¹³æã§ãµã¼ãä¸ã«ä¿åããªããã°ãªãã¾ããã MS-CHAP ã§ã¯ãã®å¿ è¦ã¯ããã¾ãããããã¯ããã¹ã¯ã¼ãã NT ããã·ã¥ã LAN-Manager ããã·ã¥ã§ä¿åããªããã°ãªãã¾ããã LAN-Manager ããã·ã¥ã¯å¼·åã§ãªãããã使ç¨ãã¹ãã§ã¯ããã¾ããã </para> <para> ãã®ããã±ã¼ã¸ã¯ 3 ã¤ã®ã¯ã©ã¹ããæ§æããã¾ãã <simplelist> <member> <link linkend="package.encryption.crypt-chap.crypt-chap-md5"> <function>Crypt_CHAP::Crypt_CHAP_MD5</function> - CHAP-MD5 (RFC 1994) ã«æºæ ãããã±ããã使ãã¾ãã </link> </member> <member> <link linkend="package.encryption.crypt-chap.crypt-chap-mschapv1"> <function>Crypt_CHAP::Crypt_MSCHAPv1</function> - MS-CHAPv1 (RFC 2433) ã«æºæ ãããã±ããã使ãã¾ãã </link> </member> <member> <link linkend="package.encryption.crypt-chap.crypt-chap-mschapv2"> <function>Crypt_CHAP::Crypt_MSCHAPv2</function> - MS-CHAPv2 (RFC 2759) ã«æºæ ãããã±ããã使ãã¾ãã </link> </member> </simplelist> Crypt_CHAP::Crypt_CHAP ã¯ãæ½è±¡åºåºã¯ã©ã¹ã§ãã </para> <para> MS-CHAP* ã使ç¨ããã«ã¯ãmhash æ¡å¼µã¢ã¸ã¥ã¼ã«ãå¿ è¦ã§ãã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/generate-challenge.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/generate-challenge.xml +++ peardoc/ja/package/encryption/crypt-chap/generate-challenge.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.generatechallenge"> <refnamediv> <refname>Crypt_CHAP::generateChallenge()</refname> <refpurpose>æ°ããã©ã³ãã ãªãã£ã¬ã³ã¸ã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP::generateChallenge</function></funcdef> <paramdef>string <parameter><optional>$varname = 'challenge'</optional></parameter></paramdef> <paramdef>int <parameter><optional>$size = 8</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.generatechallenge.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãæ°ããã©ã³ãã ãªãã£ã¬ã³ã¸ã使ãã ãããæå®ããããããã£ã«ä¿åãã¾ãã ãã£ã¬ã³ã¸ã®ããã©ã«ãã®å¤§ãã㯠8 ãã¤ãã§ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.generatechallenge.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $varname</parameter> - ãã£ã¬ã³ã¸ãä¿åããããããã£ã®ååã </para> </listitem> <listitem> <para> <parameter>int $size</parameter> - ãã£ã¬ã³ã¸ã®å¤§ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.generatechallenge.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.generatechallenge.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.generatechallenge.example"> &title.example; <example> <title><function>Crypt_CHAP::generateChallenge</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'File/SMBPasswd.php'; $cr = new Crypt_CHAP_MD5(); echo bin2hex($cr->challenge); // ãããã¯æ°ãããã£ã¬ã³ã¸ã使ãã¾ã echo bin2hex(echo $cr->generateChallenge()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap.xml +++ peardoc/ja/package/encryption/crypt-chap.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <sect1 id="package.encryption.crypt-chap"> <title>Crypt_CHAP</title> <para> ãã¾ãã¾ãª CHAP ãããã³ã«ç¨ã®ãã±ããã使ããã¯ã©ã¹ç¾¤ã§ãã </para> &package.encryption.crypt-chap.intro; &package.encryption.crypt-chap.generate-challenge; &package.encryption.crypt-chap.crypt-chap-md5.crypt-chap-md5; &package.encryption.crypt-chap.crypt-chap-md5.challenge-response; &package.encryption.crypt-chap.crypt-chap-mschapv1.crypt-chap-mschapv1; &package.encryption.crypt-chap.crypt-chap-mschapv1.challenge-response; &package.encryption.crypt-chap.crypt-chap-mschapv1.lm-challenge-response; &package.encryption.crypt-chap.crypt-chap-mschapv1.nt-challenge-response; &package.encryption.crypt-chap.crypt-chap-mschapv1.nt-password-hash; &package.encryption.crypt-chap.crypt-chap-mschapv1.lm-password-hash; &package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode; &package.encryption.crypt-chap.crypt-chap-mschapv1.response; &package.encryption.crypt-chap.crypt-chap-mschapv2.crypt-chap-mschapv2; &package.encryption.crypt-chap.crypt-chap-mschapv2.challenge-hash; &package.encryption.crypt-chap.crypt-chap-mschapv2.nt-password-hash-hash; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/nt-password-hash-hash.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/nt-password-hash-hash.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/nt-password-hash-hash.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv2::ntPasswordHashHash()</refname> <refpurpose>NT ããã·ã¥ããã¨ã«ã㦠MD4 ããã·ã¥ã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv2::ntPasswordHashHash</function></funcdef> <paramdef>string <parameter>$nthash</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãæå®ãã NT ããã·ã¥ãã MD4 ããã·ã¥ã使ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $nthash</parameter> - ããã·ã¥ã®å¯¾è±¡ã¨ãªã NT ããã·ã¥ã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash.return"> &title.returns; <para> <parameter>string</parameter> - NT ããã·ã¥ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.ntpasswordhashhash.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv2::ntPasswordHashHash</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv2(); $nthash = $cr->ntPasswordHash('MyPw'); echo bin2hex($cr->ntPasswordHashHash($nthash)); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/crypt-chap-mschapv2.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/crypt-chap-mschapv2.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/crypt-chap-mschapv2.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv2"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv2::Crypt_CHAP_MSCHAPv2()</refname> <refpurpose>ã³ã³ã¹ãã©ã¯ã¿</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Crypt/CHAP.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Crypt_CHAP_MSCHAPv2::Crypt_CHAP_MSCHAPv2</function></funcdef> <paramdef> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.desc"> &title.desc; <para> MS-CHAPv2 ã«æºæ ãããã±ããã使ããããã®æ°ãããªãã¸ã§ã¯ããçæãã¾ãã ãã®ãã¼ã¸ã§ã³ã® CHAP 㯠Peer-Challenge ã使ç¨ããLM ããã·ã¥ã¯ä½¿ç¨ããã¾ããã ãã®ã³ã³ã¹ãã©ã¯ã¿ã¯ãèªåçã« Peer-Challenge 㨠Authenticator-Challenge ã使ãã¾ãã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/challenge-hash.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/challenge-hash.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv2/challenge-hash.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv2.challengehash"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv2::challengeHash()</refname> <refpurpose>ãã£ã¬ã³ã¸-ããã·ã¥ã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv2::challengeHash</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.challengehash.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ã(SHA1) ãã£ã¬ã³ã¸-ããã·ã¥ã使ãã¾ãã ãã®ããã·ã¥ã«ã¯ãèªè¨¼ç¬¦å·ããã¢ãã£ã¬ã³ã¸ãããã¦ã¦ã¼ã¶åãå«ã¾ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.challengehash.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸-ããã·ã¥ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.challengehash.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv2.challengehash.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv2::challengeHash</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv2(); $cr->username = 'billy'; $cr->peerChallenge = $peerChallenge; $cr->authChallenge = $authChallenge; echo bin2hex($cr->challengeHash()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/str2unicode.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/str2unicode.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/str2unicode.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::str2unicode()</refname> <refpurpose>æååã unicode ã«å¤æãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::str2unicode</function></funcdef> <paramdef>string <parameter>$str</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãæå®ããæååã unicode ã«å¤æãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $str</parameter> - unicode åããæååã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode.return"> &title.returns; <para> <parameter>string</parameter> - æå®ããæååã unicode 夿ãããã®ãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::str2unicode</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); echo bin2hex($cr->str2unicode('MyPw')); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/response.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/response.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/response.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.response"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::response()</refname> <refpurpose>ã¬ã¹ãã³ã¹ãã±ããã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::response</function></funcdef> <paramdef>bool <parameter>$lm = &false;</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.response.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãã¬ã¹ãã³ã¹ãã±ããã使ãã¾ãã ãã®ãã±ããã«ã¯ NT ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ã LM ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãå«ã¾ãã¾ããããã©ã«ãã§ã¯ãLM ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ã¯å«ã¾ãã¾ããã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.response.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>bool $lm</parameter> - LM ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãå«ãããã©ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.response.return"> &title.returns; <para> <parameter>string</parameter> - ãã±ãããæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.response.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.response.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::response</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->password = 'MyPw'; echo bin2hex($cr->response()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-password-hash.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-password-hash.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-password-hash.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::ntPasswordHash()</refname> <refpurpose>æå®ããå¹³æãã¹ã¯ã¼ããã NT ããã·ã¥ã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::ntPasswordHash</function></funcdef> <paramdef>string <parameter><optional>$password = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãæå®ããå¹³æãã¹ã¯ã¼ããããã¯ãã¹ã¯ã¼ãããããã£ãã LAN-Manager ããã·ã¥ã使ãã¾ããNT ããã·ã¥ã¯ md4(str2unicode(plaintext)) ã®ããã«ãã¦è¨ç®ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $password</parameter> - ããã·ã¥ãããã¹ã¯ã¼ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash.return"> &title.returns; <para> <parameter>string</parameter> - NT ããã·ã¥ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntpasswordhash.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::ntPasswordHash</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->password = 'MyPw'; echo bin2hex($cr->ntPasswordHash()); // ããã㯠echo bin2hex($cr->ntPasswordHash('MySecret')); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-challenge-response.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-challenge-response.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/nt-challenge-response.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntchallengeresponse"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::ntChallengeResponse()</refname> <refpurpose>NT ããã·ã¥ã使ç¨ãã¦ããã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::ntChallengeResponse</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntchallengeresponse.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãNT ããã·ã¥ã使ç¨ãã¦ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntchallengeresponse.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntchallengeresponse.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.ntchallengeresponse.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::ntChallengeResponse</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->password = 'MyPw'; echo bin2hex($cr->ntChallengeResponse()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-password-hash.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-password-hash.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-password-hash.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::lmPasswordHash()</refname> <refpurpose>æå®ããå¹³æãã¹ã¯ã¼ããã LAN-Manager ããã·ã¥ã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::lmPasswordHash</function></funcdef> <paramdef>string <parameter><optional>$password = ''</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãæå®ããå¹³æãã¹ã¯ã¼ããããã¯ãã¹ã¯ã¼ãããããã£ãã LAN-Manager ããã·ã¥ã使ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $password</parameter> - ããã·ã¥ãããã¹ã¯ã¼ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash.return"> &title.returns; <para> <parameter>string</parameter> - LAN-Manager ããã·ã¥ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash.note"> &title.note; ¬e.notstatic; <para> LAN-Manager ããã·ã¥ã¯å¼·åã§ã¯ãªãã®ã§ã使ç¨ãã¹ãã§ã¯ããã¾ããã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmpasswordhash.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::lmPasswordHash</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->password = 'MyPw'; echo bin2hex($cr->lmPasswordHash()); // ããã㯠echo bin2hex($cr->lmPasswordHash('MySecret')); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-challenge-response.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-challenge-response.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/lm-challenge-response.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmchallengeresponse"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::lmChallengeResponse()</refname> <refpurpose>LAN-Manager ããã·ã¥ã使ç¨ãã¦ããã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::lmChallengeResponse</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmchallengeresponse.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãLAN-Manager ããã·ã¥ã使ç¨ãã¦ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmchallengeresponse.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmchallengeresponse.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.lmchallengeresponse.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::lmChallengeResponse</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->password = 'MyPw'; echo bin2hex($cr->lmChallengeResponse()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/crypt-chap-mschapv1.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/crypt-chap-mschapv1.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/crypt-chap-mschapv1.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::Crypt_CHAP_MSCHAPv1()</refname> <refpurpose>ã³ã³ã¹ãã©ã¯ã¿</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Crypt/CHAP.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Crypt_CHAP_MSCHAPv1::Crypt_CHAP_MSCHAPv1</function></funcdef> <paramdef> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.desc"> &title.desc; <para> MS-CHAPv1 ã«æºæ ãããã±ããã使ããããã®æ°ãããªãã¸ã§ã¯ããçæãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.note"> &title.note; <para> ãã®ã¯ã©ã¹ã使ç¨ããã«ã¯ãmhash æ¡å¼µã¢ã¸ã¥ã¼ã«ãå¿ è¦ã§ãã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/challenge-response.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/challenge-response.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-mschapv1/challenge-response.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-mschapv1.challengeresponse"> <refnamediv> <refname>Crypt_CHAP_MSCHAPv1::challengeResponse()</refname> <refpurpose>ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MSCHAPv1::challengeResponse</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.challengeresponse.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ããã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.challengeresponse.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ãããæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.challengeresponse.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-mschapv1.challengeresponse.example"> &title.example; <example> <title><function>Crypt_CHAP_MSCHAPv1::challengeResponse</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MSCHAPv1(); $cr->chapid = 1; $cr->password = 'MyPw'; echo bin2hex($cr->challengeResponse()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/crypt-chap-md5.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/crypt-chap-md5.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/crypt-chap-md5.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-md5"> <refnamediv> <refname>Crypt_CHAP_MD5::Crypt_CHAP_MD5()</refname> <refpurpose>ã³ã³ã¹ãã©ã¯ã¿</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Crypt/CHAP.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Crypt_CHAP_MD5::Crypt_CHAP_MD5</function></funcdef> <paramdef> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-md5.desc"> &title.desc; <para> CHAP-MD5 ã«æºæ ãããã±ããã使ããããã®æ°ãããªãã¸ã§ã¯ããçæãã¾ãã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/challenge-response.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/challenge-response.xml +++ peardoc/ja/package/encryption/crypt-chap/crypt-chap-md5/challenge-response.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.crypt-chap-md5.challengeresponse"> <refnamediv> <refname>Crypt_CHAP_MD5::challengeResponse()</refname> <refpurpose>ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP_MD5::challengeResponse</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.crypt-chap-md5.challengeresponse.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ããã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ããã使ãã¾ãã md5(ID + Password + Challenge) ã使ç¨ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-md5.challengeresponse.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸-ã¬ã¹ãã³ã¹ ãã±ãããæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-md5.challengeresponse.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.crypt-chap-md5.challengeresponse.example"> &title.example; <example> <title><function>Crypt_CHAP_MD5::challengeResponse</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'Crypt/CHAP.php'; $cr = new Crypt_CHAP_MD5(); $cr->password = 'MyPw'; echo bin2hex($cr->challengeResponse()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/intro.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/intro.xml +++ peardoc/ja/package/encryption/crypt-chap/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.intro"> <refnamediv> <refname>å°å ¥</refname> <refpurpose>æå·å</refpurpose> </refnamediv> <refsect1 id="package.encryption.crypt-chap.intro.desc"> <title>CHAP - ãã£ã¬ã³ã¸ãã³ãã·ã§ã¤ã¯èªè¨¼ãããã³ã« (Challenge Handshake Authentication Protocol)</title> <para> CHAP ã¯é常㯠PPP (Point-to-Point Protocol) ã½ããã¦ã§ã¢ã«èªè¨¼ãµãã·ã¹ãã ã¨ãã¦çµã¿è¾¼ã¾ãã¦ãã¾ãã CHAP ã使ç¨ããã¨ãå¹³æã®ãã¹ã¯ã¼ããå±éºãªãªã³ã¯ä¸ã«éä¿¡ãããã¨ãé²ãã¾ãã ä¼çµ±ç㪠CHAP-MD5 ã¯ããã¹ã¯ã¼ããå¹³æã§ãµã¼ãä¸ã«ä¿åããªããã°ãªãã¾ããã MS-CHAP ã§ã¯ãã®å¿ è¦ã¯ããã¾ãããããã¯ããã¹ã¯ã¼ãã NT ããã·ã¥ã LAN-Manager ããã·ã¥ã§ä¿åããªããã°ãªãã¾ããã LAN-Manager ããã·ã¥ã¯å¼·åã§ãªãããã使ç¨ãã¹ãã§ã¯ããã¾ããã </para> <para> ãã®ããã±ã¼ã¸ã¯ 3 ã¤ã®ã¯ã©ã¹ããæ§æããã¾ãã <simplelist> <member> <link linkend="package.encryption.crypt-chap.crypt-chap-md5"> <function>Crypt_CHAP::Crypt_CHAP_MD5</function> - CHAP-MD5 (RFC 1994) ã«æºæ ãããã±ããã使ãã¾ãã </link> </member> <member> <link linkend="package.encryption.crypt-chap.crypt-chap-mschapv1"> <function>Crypt_CHAP::Crypt_MSCHAPv1</function> - MS-CHAPv1 (RFC 2433) ã«æºæ ãããã±ããã使ãã¾ãã </link> </member> <member> <link linkend="package.encryption.crypt-chap.crypt-chap-mschapv2"> <function>Crypt_CHAP::Crypt_MSCHAPv2</function> - MS-CHAPv2 (RFC 2759) ã«æºæ ãããã±ããã使ãã¾ãã </link> </member> </simplelist> Crypt_CHAP::Crypt_CHAP ã¯ãæ½è±¡åºåºã¯ã©ã¹ã§ãã </para> <para> MS-CHAP* ã使ç¨ããã«ã¯ãmhash æ¡å¼µã¢ã¸ã¥ã¼ã«ãå¿ è¦ã§ãã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap/generate-challenge.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap/generate-challenge.xml +++ peardoc/ja/package/encryption/crypt-chap/generate-challenge.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.encryption.crypt-chap.generatechallenge"> <refnamediv> <refname>Crypt_CHAP::generateChallenge()</refname> <refpurpose>æ°ããã©ã³ãã ãªãã£ã¬ã³ã¸ã使ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <!-- <funcsynopsisinfo> require_once 'File/SMBPasswd.php'; </funcsynopsisinfo> --> <funcprototype> <funcdef>string <function>Crypt_CHAP::generateChallenge</function></funcdef> <paramdef>string <parameter><optional>$varname = 'challenge'</optional></parameter></paramdef> <paramdef>int <parameter><optional>$size = 8</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.encryption.crypt-chap.generatechallenge.desc"> &title.desc; <para> ãã®ã¡ã½ããã¯ãæ°ããã©ã³ãã ãªãã£ã¬ã³ã¸ã使ãã ãããæå®ããããããã£ã«ä¿åãã¾ãã ãã£ã¬ã³ã¸ã®ããã©ã«ãã®å¤§ãã㯠8 ãã¤ãã§ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.generatechallenge.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $varname</parameter> - ãã£ã¬ã³ã¸ãä¿åããããããã£ã®ååã </para> </listitem> <listitem> <para> <parameter>int $size</parameter> - ãã£ã¬ã³ã¸ã®å¤§ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.generatechallenge.return"> &title.returns; <para> <parameter>string</parameter> - ãã£ã¬ã³ã¸ãæååã§è¿ãã¾ãã </para> </refsect1> <refsect1 id="package.encryption.crypt-chap.generatechallenge.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.encryption.crypt-chap.generatechallenge.example"> &title.example; <example> <title><function>Crypt_CHAP::generateChallenge</function> ã®ä½¿ç¨</title> <programlisting role="php"> <![CDATA[ <?php require_once 'File/SMBPasswd.php'; $cr = new Crypt_CHAP_MD5(); echo bin2hex($cr->challenge); // ãããã¯æ°ãããã£ã¬ã³ã¸ã使ãã¾ã echo bin2hex(echo $cr->generateChallenge()); ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/encryption/crypt-chap.xml?view=markup&rev=1.1 Index: peardoc/ja/package/encryption/crypt-chap.xml +++ peardoc/ja/package/encryption/crypt-chap.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <sect1 id="package.encryption.crypt-chap"> <title>Crypt_CHAP</title> <para> ãã¾ãã¾ãª CHAP ãããã³ã«ç¨ã®ãã±ããã使ããã¯ã©ã¹ç¾¤ã§ãã </para> &package.encryption.crypt-chap.intro; &package.encryption.crypt-chap.generate-challenge; &package.encryption.crypt-chap.crypt-chap-md5.crypt-chap-md5; &package.encryption.crypt-chap.crypt-chap-md5.challenge-response; &package.encryption.crypt-chap.crypt-chap-mschapv1.crypt-chap-mschapv1; &package.encryption.crypt-chap.crypt-chap-mschapv1.challenge-response; &package.encryption.crypt-chap.crypt-chap-mschapv1.lm-challenge-response; &package.encryption.crypt-chap.crypt-chap-mschapv1.nt-challenge-response; &package.encryption.crypt-chap.crypt-chap-mschapv1.nt-password-hash; &package.encryption.crypt-chap.crypt-chap-mschapv1.lm-password-hash; &package.encryption.crypt-chap.crypt-chap-mschapv1.str2unicode; &package.encryption.crypt-chap.crypt-chap-mschapv1.response; &package.encryption.crypt-chap.crypt-chap-mschapv2.crypt-chap-mschapv2; &package.encryption.crypt-chap.crypt-chap-mschapv2.challenge-hash; &package.encryption.crypt-chap.crypt-chap-mschapv2.nt-password-hash-hash; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->