From 2d92dd9d40fa1918c8dfb7e3d4a0e7993bcd82fc Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sun, 7 Jan 2007 02:39:58 +0000 Subject: [PATCH] Document the resources of CrackLib and the possible return values of crack_getlastmessage git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@226612 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../crack/functions/crack-getlastmessage.xml | 55 ++++++++++++++++++- reference/crack/reference.xml | 7 ++- 2 files changed, 58 insertions(+), 4 deletions(-) diff --git a/reference/crack/functions/crack-getlastmessage.xml b/reference/crack/functions/crack-getlastmessage.xml index 04428259f1..16000d245d 100644 --- a/reference/crack/functions/crack-getlastmessage.xml +++ b/reference/crack/functions/crack-getlastmessage.xml @@ -1,5 +1,5 @@ - + @@ -21,7 +21,58 @@ &reftitle.returnvalues; - 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. + + + The returned message is one of: + + + + it's WAY too short + + + + + it is too short + + + + + it does not contain enough DIFFERENT characters + + + + + it is all whitespace + + + + + it is too simplistic/systematic + + + + + it looks like a National Insurance number. + + + + + it is based on a dictionary word + + + + + it is based on a (reversed) dictionary word + + + + + strong password + + + diff --git a/reference/crack/reference.xml b/reference/crack/reference.xml index 5847193e0e..5a6b4bbfe3 100644 --- a/reference/crack/reference.xml +++ b/reference/crack/reference.xml @@ -1,5 +1,5 @@ - + @@ -38,7 +38,10 @@
&reftitle.resources; - &no.resource; + + The CrackLib extension defines a dictionary resource identifier returned + by crack_opendict. +