| Both sides previous revision Previous revision Next revision | Previous revision |
| wiki:wachtwoorden [2009/05/15 13:39] – wietse | wiki:wachtwoorden [2026/05/27 14:01] (current) – external edit 127.0.0.1 |
|---|
| ====== Wachtwoorden ====== | ====== Wachtwoorden ====== |
| |
| Deze pagina is momenteel tijdelijk niet beschikbaar. Onze excuses voor het ongemak. | Op deze pagina kunt u een wachtwoord laten versleutelen. |
| |
| ===== Genereer een wachtwoord ===== | ===== Genereer een wachtwoord ===== |
| |
| <html> | <html> |
| <form name="noisy" action="javascript:supernoisy()"> | <script type="text/javascript"> |
| <fieldset> | function generatepwd() { |
| | $.post("/genpwd.php", { length: $("input[name=ints]:checked").val() }, generatepwdput); |
| | } |
| | function generatepwdput(strReturn) { |
| | $("#generatepwdout").html("<code>" + strReturn + "</code>"); |
| | } |
| | </script> |
| | |
| | <form> |
| | <fieldset style="width: 80%;"> |
| <legend>Kies het aantal karakters en druk "genereer"</legend> | <legend>Kies het aantal karakters en druk "genereer"</legend> |
| <div>Aantal karakters:</div> | <div>Aantal karakters:</div> |
| <input name="ints" value="12" type="radio">12 | <input name="ints" value="12" type="radio">12 |
| <input name="ints" value="16" type="radio">16 | <input name="ints" value="16" type="radio">16 |
| <input value="Genereer" onclick="supernoisy()" type="button"> | <input name="ints" value="32" type="radio">32 |
| <br /><br /> | <input name="ints" value="64" type="radio">64 |
| <input class="text" name="output" size="24" type="text"> | <input name="ints" value="128" type="radio">128 |
| | <input name="ints" value="256" type="radio">256 |
| | <input value="Genereer" onclick="generatepwd()" type="button"> |
| | <div class="bs-wrap bs-wrap-well well lg" style="overflow: auto; margin-top: 20px;" id="generatepwdout">leeg</div> |
| </fieldset> | </fieldset> |
| </form> | </form> |
| </html> | </html> |
| |
| ===== Een MD5-Crypt wachtwoord ===== | ===== Een SHA512 versleuteld wachtwoord ===== |
| |
| Wil je een specifiek wachtwoord bij ons ingesteld hebben? Vertel | Wil je een specifiek wachtwoord bij ons ingesteld hebben? Vertel |
| <html> | <html> |
| <script type="text/javascript"> | <script type="text/javascript"> |
| function md5crypt(){ | function sha512crypt() { |
| $.post("/npo/cgi-bin/pwdmake_post.pl",{ pass: $("#md5cryptpass").val() }, md5cryptput); | $.post("/pwdcrypt.php",{ pass: $("#sha512cryptpass").val() }, sha512cryptput); |
| } | } |
| function md5cryptput (strReturn ){ | function sha512cryptput (strReturn ){ |
| $( "#md5cryptout" ).html( strReturn ); | $( "#sha512cryptout" ).html("<code>" + strReturn + "</code>"); |
| } | } |
| </script> | </script> |
| |
| <form><fieldset> | <form><fieldset style="width: 80%;"> |
| <legend>Vul hier je wachtwoord in</legend> | <legend>Vul hier je wachtwoord in</legend> |
| <input class="text" id="md5cryptpass" size="24" type="text"> | <input class="text" id="sha512cryptpass" size="24" type="password"> |
| <input value="Versleutel" type="button" onclick="md5crypt();"> | <input value="Versleutel" type="button" onclick="sha512crypt();"> |
| <p id="md5cryptout">leeg</p> | <div class="bs-wrap bs-wrap-well well lg" style="overflow: auto; margin-top: 20px;" id="sha512cryptout">leeg</div> |
| </fieldset></form> | </fieldset></form> |
| </html> | </html> |
| Voor zo'n digest wachtwoord geven wij de user en de realm op. | Voor zo'n digest wachtwoord geven wij de user en de realm op. |
| Vul die hieronder weer in, en vul daarnaast het gewenste | Vul die hieronder weer in, en vul daarnaast het gewenste |
| wachtwoord in. | wachtwoord in. Kies "versleutel" en mail ons de regel die dan gegenereerd wordt. |
| |
| <html> | <html> |
| <script type="text/javascript"> | <script type="text/javascript"> |
| function htdigestcrypt(){ | function htdigestcrypt(){ |
| $.post("/npo/cgi-bin/htdigest_post.pl",{ | $.post("/digestgen.php",{ |
| user: $("#htdigestuser").val(), | user: $("#htdigestuser").val(), |
| realm: $("#htdigestrealm").val(), | realm: $("#htdigestrealm").val(), |
| } | } |
| function htdigestput (strReturn ){ | function htdigestput (strReturn ){ |
| $( "#htdigestout" ).html( strReturn ); | $( "#htdigestout" ).html("<code>" + strReturn + "</code>"); |
| } | } |
| </script> | </script> |
| |
| <form><fieldset> | <form><fieldset style="width: 80%;"> |
| <legend>Vul hier je username, realm & wachtwoord in</legend> | <legend>Vul hier je username, realm & wachtwoord in</legend> |
| user:<input class="text" id="htdigestuser" style="width:100px;" type="text"> | user:<input class="text" id="htdigestuser" style="width:100px;" type="text"> |
| realm:<input class="text" id="htdigestrealm" style="width:100px;" type="text"> | realm:<input class="text" id="htdigestrealm" style="width:100px;" type="text"> |
| wachtwoord:<input class="text" id="htdigestpass" style="width:300px;" type="text"> | wachtwoord:<input class="text" id="htdigestpass" style="width:300px;" type="password"> |
| <input value="Versleutel" type="button" onclick="htdigestcrypt();"> | <input value="Versleutel" type="button" onclick="htdigestcrypt();"> |
| <p id="htdigestout">leeg</p> | <div class="bs-wrap bs-wrap-well well lg" style="overflow: auto; margin-top: 20px;" id="htdigestout">leeg</div> |
| </fieldset></form> | </fieldset></form> |
| </html> | </html> |
| | |