didou Sun Jan 7 02:39:58 2007 UTC
Modified files: /phpdoc/en/reference/crack reference.xml /phpdoc/en/reference/crack/functions crack-getlastmessage.xml Log: Document the resources of CrackLib and the possible return values of crack_getlastmessage http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/crack/reference.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/crack/reference.xml diff -u phpdoc/en/reference/crack/reference.xml:1.11 phpdoc/en/reference/crack/reference.xml:1.12 --- phpdoc/en/reference/crack/reference.xml:1.11 Sun Sep 4 19:39:09 2005 +++ phpdoc/en/reference/crack/reference.xml Sun Jan 7 02:39:58 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <!-- Purpose: mathcrypto.crypto --> <!-- Membership: pecl, external --> @@ -38,7 +38,10 @@ <section id="crack.resources"> &reftitle.resources; - &no.resource; + <para> + The CrackLib extension defines a dictionary resource identifier returned + by <function>crack_opendict</function>. + </para> </section> <section id="crack.constants"> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/crack/functions/crack-getlastmessage.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/crack/functions/crack-getlastmessage.xml diff -u phpdoc/en/reference/crack/functions/crack-getlastmessage.xml:1.3 phpdoc/en/reference/crack/functions/crack-getlastmessage.xml:1.4 --- phpdoc/en/reference/crack/functions/crack-getlastmessage.xml:1.3 Sun Jan 2 11:50:33 2005 +++ phpdoc/en/reference/crack/functions/crack-getlastmessage.xml Sun Jan 7 02:39:58 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/crack.xml, last change in rev 1.1 --> <refentry id="function.crack-getlastmessage"> <refnamediv> @@ -21,7 +21,58 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - The message from the last obscure check. + The message from the last obscure check or &false; if there was no obscure + checks made so far. + </para> + <para> + The returned message is one of: + <itemizedlist> + <listitem> + <simpara> + <literal>it's WAY too short</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is too short</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it does not contain enough DIFFERENT characters</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is all whitespace</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is too simplistic/systematic</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it looks like a National Insurance number.</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is based on a dictionary word</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>it is based on a (reversed) dictionary word</literal> + </simpara> + </listitem> + <listitem> + <simpara> + <literal>strong password</literal> + </simpara> + </listitem> + </itemizedlist> </para> </refsect1> <refsect1 role="seealso">