Strong passwords are at least 8 characters in length, contain both upper- and lower-case letters, as well as some digits and special characters. Use the requirements (specified below) for a password to define in BNF a grammar for
A valid password must contain the following elements:
- Standard U.S. keyboard characters only (such as the letters A through Z, the numbers 0 through 9, or the special characters on the top row of the keyboard)
- A minimum of 8 characters
- A maximum of 32 characters
- At least 1 number
- At least 1 of these special characters: ! $ & * < >