For security purpose testing, I am trying to write JavaScript code that calculates the possibilities of 5 length password.
The strikes on keyboard are
a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 1 2 3 4 5 6 7 8 9
! @ # $ % ^ & * ( ) _ + } { " : ? > <
How do I writes loops in JavaScript to print all the possibilities without making the computer hangout/freeze assuming the output number is going to be really huge.
Also how do I calculate the time needed to finish the process?