cvs: phpdoc-nl /reference/crack reference.xml
[email protected] ("Patric Stout")
| Newsgroups | php.doc.nl |
|---|---|
| Message-ID | <cvstruelight1029271225@cvsserver> |
truelight Tue Aug 13 16:40:25 2002 EDT
Added files:
/phpdoc-nl/reference/crack reference.xml
Log:
reference/crack translated
Index: phpdoc-nl/reference/crack/reference.xml
+++ phpdoc-nl/reference/crack/reference.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- EN-Revision: 1.3 Maintainer: truelight Status: ready -->
<reference id="ref.crack">
<title>Crack functies</title>
<titleabbrev>Crack functies</titleabbrev>
<partintro>
<section id="crack.intro">
&reftitle.intro;
<para>
Deze functies maken het mogelijk om met de CrackLib bibliotheek de 'sterkte'
van een wachtwoord te testen. De 'sterkte' van een wachtwoord wordt bepaald
door de lengte ervan, het gebruik van hoofd- en kleine letters, en het wordt
vergeleken met een CrackLib woordenboek. CrackLib geeft ook handige tips om
je wachtwoord 'sterker' te maken.
</para>
</section>
<section id="crack.requirements">
&reftitle.required;
<para>
Meer informatie over CrackLib samen met de bibliotheek kan gevonden worden op
<ulink url="&url.crack;">&url.crack;</ulink>.
</para>
</section>
<section id="crack.installation">
&reftitle.install;
<para>
Om deze functies te kunnen gebruiken, moet je PHP gecompileerd hebben
met Crack support door de <option role="configure">--with-crack[=DIR]</option>
optie te gebruiken.
</para>
</section>
<section id="crack.configuration">
&reftitle.runtime;
&no.config;
</section>
<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>
Dit voorbeeld laat zien hoe je een CrackLib woordenboek moet openen,
hoe je een wachtwoord test, hoe je de diagnostische berichten afvangt,
en hoe je het woordenboek sluit.
<example>
<title>CrackLib voorbeeld</title>
<programlisting role="php">
<![CDATA[
<?php
// Opent een CrackLib woordenboek
$dictionary = crack_opendict('/usr/local/lib/pw_dict')
or die('Kan het CrackLib woordenboek niet openen');
// Voert een wachtwoord test uit
$check = crack_check($dictionary, 'gx9A2s0x');
// Vang de berichten af
$diag = crack_getlastmessage();
echo $diag; // 'sterk' wachtwoord
// Sluit het woordenboek
crack_closedict($dictionary);
?>
]]>
</programlisting>
</example>
</para>
<note>
<para>
Als <function>crack_check</function> &true; terug geeft,
geeft <function>crack_getlastmessage</function> 'strong password' terug.
</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
-->