On Linux, I use mkpasswd to generate random passwords for use on OS X, however I do not have this command. Instead of logging into my vps every time, I wanted to repeat it using Java. What I did was select random 4 lowercase letters, 2 uppercase letters, 2 characters (etc.) and 2 numbers. Then I create a vector and shuffle it.
Do you think this is good enough randomization?
source share