A strong password should contain at least 8 characters, 1 uppercase letter, various numbers and symbols, and in…