0% found this document useful (0 votes)
41 views13 pages

Java Core Souce Code Password Generating

This document contains an outline for a password generator and strength checker program. It includes sections for introduction, system analysis, development environment, and system design. The introduction describes the organization profile and objective of creating a password generator. The system analysis section covers feasible studies, hardware/software requirements. The development environment introduces Oracle database, Java, and NetBeans IDE. The system design outlines modular descriptions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views13 pages

Java Core Souce Code Password Generating

This document contains an outline for a password generator and strength checker program. It includes sections for introduction, system analysis, development environment, and system design. The introduction describes the organization profile and objective of creating a password generator. The system analysis section covers feasible studies, hardware/software requirements. The development environment introduces Oracle database, Java, and NetBeans IDE. The system design outlines modular descriptions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CONTENTS

DECLARATION
2
ACKNOWLEDGEMENT
3
CERTIFICATE
4
ABSTRACT
5
CONTENTS
6

1. INTRODUCTION
a. Organization
Profile&&&&&&&&&&&&&
&&&&&&&&& 8
b. Introduction of
Project&&&&&&&&&&&&&
&&&&&&&& 11
c. Problem
Specification&&&&&&&&&
&&&&&&&&&&&&.. 12
d. Problem
Definition&&&&&&&&&&&
&&&&&&&&&&&&12
e. Limitation of Existing
System&&&&&&&&&&&&
&&&&&&..12
f. Objective of
Project&&&&&&&&&&&&&
&&&&&&&&&...13
2. SYSTEM ANALYSIS
a. Feasible
study&&&&&&&&&&&&&
&&&&&&&&&&&&.14
b.
Introduction&&&&&&&&&&
&&&&&&&&&&&&&&&&1
4
c. Summary and
Constraint&&&&&&&&&&&
&&&&&&&&&..14
d. Types of Feasible
Study&&&&&&&&&&&&&
&&&&&&&&.15
e. Hardware and Software
Requirements&&&&&&&&&
&&&&&...17
3. DEVELPOMENT
ENVIRONMENT
a. Introduction to Oracle
Database&&&&&&&&&&&&
&&&&&..18
b. Introduction to
Java&&&&&&&&&&&&&&
&&&&&&&&..23
c. Introduction to NetBeans
Ide
8.1&&&&&&&&&&&&&&&
&&.27
4. SYSTEM DESIGN
a. Modular
Description&&&&&&&&&&
&&&&&&&&&&&&.31
CONTENTS
DECLARATION
2
ACKNOWLEDGEMENT
3
CERTIFICATE
4
ABSTRACT
5
CONTENTS
6

1. INTRODUCTION
a. Organization
Profile&&&&&&&&&&&&&
&&&&&&&&& 8
b. Introduction of
Project&&&&&&&&&&&&&
&&&&&&&& 11
c. Problem
Specification&&&&&&&&&
&&&&&&&&&&&&.. 12
d. Problem
Definition&&&&&&&&&&&
&&&&&&&&&&&&12
e. Limitation of Existing
System&&&&&&&&&&&&
&&&&&&..12
f. Objective of
Project&&&&&&&&&&&&&
&&&&&&&&&...13
2. SYSTEM ANALYSIS
a. Feasible
study&&&&&&&&&&&&&
&&&&&&&&&&&&.14
b.
Introduction&&&&&&&&&&
&&&&&&&&&&&&&&&&1
4
c. Summary and
Constraint&&&&&&&&&&&
&&&&&&&&&..14
d. Types of Feasible
Study&&&&&&&&&&&&&
&&&&&&&&.15
e. Hardware and Software
Requirements&&&&&&&&&
&&&&&...17
3. DEVELPOMENT
ENVIRONMENT
a. Introduction to Oracle
Database&&&&&&&&&&&&
&&&&&..18
b. Introduction to
Java&&&&&&&&&&&&&&
&&&&&&&&..23
c. Introduction to NetBeans
Ide
8.1&&&&&&&&&&&&&&&
&&.27
4. SYSTEM DESIGN
a. Modular
Description&&&&&&&&&&
&&&&&&&&&&&&.31
boolean
IncludeNum =
false;
boolean IncludeSym = false;

boolean correctParams = false;


boolean correctParams;

[Link]();
[Link]("Hello, welcome to the Password Generator :) answer"
+ " the following questions by Yes or No \n");

do {
[Link]("Do you want Lowercase letters \"abcd...\" to be used
String input = [Link]();
String input;
correctParams = false;

do {
[Link]("Do you want Lowercase letters \"abcd...\" to be used
input = [Link]();
PasswordRequestError(input);
} while (![Link]("yes") && ![Link]("no")
if (isInclude(input)) IncludeLower = true;

[Link]("Do you want Uppercase letters \"ABCD...\" to be used


input = [Link]();
do {
[Link]("Do you want Uppercase letters \"ABCD...\" to be used
input = [Link]();
PasswordRequestError(input);
} while (![Link]("yes") && ![Link]("no")

if (isInclude(input)) IncludeUpper = true;

do {
[Link]("Do you want Numbers \"1234...\" to be used? ");
input = [Link]();
input = [Link]();
PasswordRequestError(input);
} while (![Link]("yes") && ![Link]("no")

if (isInclude(input)) IncludeNum = true;

do {
[Link]("Do you want Symbols \"!@#$...\" to be used? ");
input = [Link]();
input = [Link]();
PasswordRequestError(input);
} while (![Link]("yes") && ![Link]("no")

if (isInclude(input)) IncludeSym = true;

//No Pool Selected


if (!IncludeUpper && !IncludeLower && !IncludeNum && !IncludeSym) {
[Link]("You have selected no characters to generate your " +
"password at least one of your answers should be Yes");
"password, at least one of your answers should be Yes\n");
correctParams = true;
}

[Link]("Great! Now enter the length of the password");


int length = [Link]();
} while (correctParams);

final Generator generator = new Generator(IncludeUpper, IncludeLower, In


final Password password = [Link](length);
[Link]("Great! Now enter the length of the password");
int length = [Link]();

[Link]("Your generated password -> " + password);


final Generator generator = new Generator(IncludeUpper, IncludeLower, In
final Password password = [Link](length);

} while (correctParams);
[Link]("Your generated password -> " + password);
}

private boolean isInclude(String Input) {


if ([Link]("yes")) {
return true;
} else {
if (![Link]("no")) {
PasswordRequestError();
}
}
else {
return false;
}
}

private void PasswordRequestError() {


[Link]("You have entered something incorrect let's go over i
private void PasswordRequestError(String i) {
if (![Link]("yes") && ![Link]("no")) {
[Link]("You have entered something incorrect let's go over i
}
}

private void checkPassword() {


String input;
final Scanner in = new Scanner([Link]);

[Link]("\nEnter your password:");


input = [Link]();
input = [Link]();

final Password p = new Password(input);

[Link]([Link]());

[Link]();
}

private void printMenu() {


[Link]();
[Link]("Enter 1 - Password Generator");
[Link]("Enter 2 - Password Strength Check");
[Link]("Enter 3 - Useful Information");
[Link]("Enter 4 - Quit");
[Link]("Choice:");
}
private void printQuitMessage() {
[Link]("Closing the program bye bye!");
}
}

You might also like