Gimana caranya buat mendapat password yang kuat?
Ini dia jawabannya:
[quote]<html>
<body>
<script language="JavaScript" type="text/javascript">
<!--
function randomPassword(length)
{
chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()-_=+\|[]{};:,.<>/?`~";
pass = "";
for(x=0;x<length;x++)
{
i = Math.floor(Math.random() * 82);
pass += chars.charAt(i);
}
return pass;
}
function formSubmit()
{
passform.passbox.value = randomPassword(passform.length.value);
return false;
}
</script>
<table align="center" border="1">
<tr>
<td valign="middle" align="center">
<center>Pembangkit Random Password</center>
<form name="passform">
<p>
Length: <select name="length">
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
</select></p>
<p>
Password: <input name="passbox" type="text" size="25" tabindex="1"></p>
<p>
<input type="button" value="Generate Password" onClick="javascript:formSubmit()" tabindex="2">
<input type="reset" value="Batal" tabindex="3"></p>
</form></td></tr>
</table>
</body>
</html>[/quote]
Jadikan kode tersebut di satu file HTML.
Anda hanya perlu memilih length (panjang password yang diinginkan) dan klik generate.
Yang direkomendasikan: 20 karakter
Dijamin 100% anti-brute forcing!
Tapi ingat, nothing is secure........ Hahaha
Preview:
http://h1.ripway.com/qqzq07/randompass.html
Last edited by ymm0t (2008-07-10 06:42:15)