cvs: phpdoc-pl /reference/crack reference.xml
| From: | Leszek Krupinski | Date: | Fri, 05 May 2006 00:02:09 +0000 |
| Subject: | cvs: phpdoc-pl /reference/crack reference.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-917@lists.php.net to get a copy of this message | ||
leszek Fri May 5 00:02:09 2006 UTC
Added files:
/phpdoc-pl/reference/crack reference.xml
Log:
[leniwiec] add translate of CrackLib
http://cvs.php.net/viewcvs.cgi/phpdoc-pl/reference/crack/reference.xml?view=markup&rev=1.1
Index: phpdoc-pl/reference/crack/reference.xml
+++ phpdoc-pl/reference/crack/reference.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.11 Maintainer: leniwiec Status: ready -->
<!-- $Revision: 1.1 $ -->
<!-- Purpose: mathcrypto.crypto -->
<!-- Membership: pecl, external -->
<reference id="ref.crack">
<title>Crack Functions</title>
<titleabbrev>Crack</titleabbrev>
<partintro>
<section id="crack.intro">
&reftitle.intro;
<para>
Te funkcje umo¿liwiaj± korzystanie z biblioteki CrackLib, w celu
sprawdzenia 'jako¶ci' has³a. 'Jako¶æ' has³a jest rozpatrywana na
podstawie jego d³ugo¶ci, u¿ytych w nim ma³ych i wielkich liter, oraz
s³ownika CrackLib. CrackLib zwraca równie¿ po¿yteczne wskazówki mag±ce
pomuc w poprawieniu jako¶ci has³a.
</para>
<note>
<para>
&pecl.moved-ver;5.0.0.
</para>
</note>
</section>
<section id="crack.requirements">
&reftitle.required;
<para>
Wiêcej informacji na temat CrackLib oraz samom biblioteke mo¿na znale¶æ
na stronie:
<ulink url="&url.crack;">&url.crack;</ulink>.
</para>
</section>
&reference.crack.configure;
&reference.crack.ini;
<section id="crack.resources">
&reftitle.resources;
&no.resource;
</section>
<section id="crack.constants">
&reftitle.constants;
&no.constants;
</section>
<section id="crack.examples">
&reftitle.examples;
<para>
Poni¿szy przyk³ad obrazuje sposób otwarcia s³ownika CrackLib, sprawdzenia
has³a, pobrania informacji diagnostycznych, oraz zamkniêcia s³ownika.
<example>
<title>Przyk³ad u¿ycia CrackLib</title>
<programlisting role="php">
<![CDATA[
<?php
// Otwarcie s³ownika CrackLib
$dictionary = crack_opendict('/usr/local/lib/pw_dict')
or die('Unable to open CrackLib dictionary');
// Sprawdzenie has³a
$check = crack_check($dictionary, 'gx9A2s0x');
// Pobranie informacji diagnostycznych
$diag = crack_getlastmessage();
echo $diag; // 'strong password'
// Zamkniêcie s³ownika
crack_closedict($dictionary);
?>
]]>
</programlisting>
</example>
</para>
<note>
<para>
Je¶li <function>crack_check</function> zwróci &true;,
<function>crack_getlastmessage</function> zwróci 'silne has³o'.
</para>
</note>
</section>
</partintro>
&reference.crack.functions;
</reference>
<!-- 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
indent-tabs-mode:nil
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
-->