Take a string as input and if it meets the requirements, accept the password.
Input: a string, e.g.
Output: two distinct values representing "secure" and "insecure", e.g.
In order for a password to be determined as secure, it must:
- Be at least 8 characters in length.
- Contain at least one character each from the four groups
C#de g07F-> secure
This is code golf, the shortest answer wins.