We are generating a secure password by randomly selecting each character out of all possible characters and combining them together to a strong secure password. Each character is chosen randomly using the pseudo random Javascript method Math.random().