Changed the layout of the table
This commit is contained in:
parent
f69d512c1b
commit
8f2fc26aa1
@ -65,7 +65,7 @@ public class PasswordStrength extends LessonAdapter
|
||||
put("pass3", new Password("a9z1ezd", "seconds", "19", "26 + 10 chars on 7 positions = 78 billion possible combinations"));
|
||||
put("pass4", new Password("aB8fEzDq", "hours", "15", "26 + 26 + 10 chars on 8 positions = 218 trillion possible combinations"));
|
||||
put("pass5", new Password("z8!E?7D$", "days", "20", "96 chars on 8 positions = 66 quintillion possible combinations"));
|
||||
put("pass6", new Password("My 1st Password!: Redd", "septillion years", "322", "96 chars on 22 positions = 40 tredecillion possible combinations"));
|
||||
put("pass6", new Password("My1stPassword!:Redd", "quintillion years", "364", "96 chars on 19 positions = 46 undecillion possible combinations"));
|
||||
}};
|
||||
|
||||
private class Password {
|
||||
@ -131,6 +131,7 @@ public class PasswordStrength extends LessonAdapter
|
||||
TD td2 = new TD();
|
||||
Input input1 = new Input(Input.TEXT, entry.getKey(), "");
|
||||
td1.addElement(new StringElement("Password = " + entry.getValue().password));
|
||||
td1.setWidth("50%");
|
||||
td2.addElement(input1);
|
||||
td2.addElement(new StringElement(" " + entry.getValue().timeUnit));
|
||||
tr.addElement(td1);
|
||||
|
@ -31,7 +31,7 @@ Password = abzfezd: <font color="#ff0000">2</font> seconds<br>
|
||||
Password = a9z1ezd: <font color="#ff0000">19</font> seconds<br>
|
||||
Password = aB8fEzDq: <font color="#ff0000">15</font> hours<br>
|
||||
Password = z8!E?7: <font color="#ff0000">20</font> days<br>
|
||||
Password = My 1st Password!: Redd: <font color="#ff0000">322</font> septillion years<br>
|
||||
Password = My1stPassword!:Redd: <font color="#ff0000">364</font> quintillion years<br>
|
||||
<br><br><br>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user