Java Utility Functions - Password Generation and Validation - repost

CLOSED
Bids
57
Avg Bid (USD)
$33
Project Budget (USD)
$30 - $250

Project Description:
I need 2 Java utility functions that should be easy and straightforward.

Function 1: Generate a random password that's 7 characters. The random password MUST have 1 lowercase, 1 uppercase, 1 digit, and 1 symbol (valid symbols are ! @ # $ % *

Method signature should be
public static String generatePassword()

Function 2: Validate a passed in password. This password will be between 7 and 20 characters. It must comply with at least 3 of the following 4 rules: 1) at least 1 capital 2) at least one lowercase 3) at least 1 digit 4) at least 1 symbol (see above for valid symbols). If the password is too long or too short, return false. If it only meets 2 of the rules, return false. If it meets 3 or 4 of the rules, return true.

Method signature should be
public static boolean validatePassword(String password)

That's it!

Skills required:
Java
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 30
in 1 days
$ 30
in 0 days
$ 30
in 0 days
$ 30
in 1 days
$ 30
in 0 days
Hire pbq
$ 30
in 1 days
Hire wanly3643vw
$ 30
in 0 days
$ 30
in 0 days
$ 40
in 1 days
$ 30
in 1 days