wiki:wachtwoorden

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:wachtwoorden [2016/06/13 10:23] dickwiki:wachtwoorden [2026/05/27 14:01] (current) – external edit 127.0.0.1
Line 10: Line 10:
  
 <html> <html>
-<form name="noisyaction="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>
Line 17: Line 26:
 <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="Genereeronclick="supernoisy()" type="button"> +<input name="intsvalue="32" type="radio">32 
-<br /><br /+<input name="ints" value="64" type="radio">64 
-<input class="textname="outputsize="24 type="text">+<input name="ints" value="128" type="radio">128 
 +<input name="intsvalue="256type="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
Line 34: Line 46:
 <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="password"> + <input class="text" id="sha512cryptpass" size="24" type="password"> 
- <input value="Versleutel" type="button" onclick="md5crypt();"> + <input value="Versleutel" type="button" onclick="sha512crypt();"> 
- <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>
Line 63: Line 75:
 <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(), 
Line 69: Line 81:
 } }
 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 &amp; wachtwoord in</legend>  <legend>Vul hier je username, realm &amp; 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">
Line 79: Line 91:
  wachtwoord:<input class="text" id="htdigestpass" style="width:300px;" type="password">  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();">
- <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>
 +
  • wiki/wachtwoorden.1465806195.txt.gz
  • Last modified: 2026/05/27 14:01
  • (external edit)