Professional Documents
Culture Documents
//Password
Checker
Where I suffer day and night
to make this work
Luaisbetter.com
I hate Java, I really do
System.out.println(“Work Log”);
Timeline(Days);
November
14/11/2022 - Research (What makes a good password)
16/11/2022 - Research (What is encryption)
17/11/2022 - Research (Password Entropy)
22/11/2022 - First Draft
23/11/2022 - Research (Brute Forcing)
29/11/2022 - Research (Hash coding)
December
1/12/2022 - Research (Hash Coding) + Draft 2
2/12/2022 - Peer Review
4/12/2022 - Draft 3 + Finalization + Powerpoint
Luaisbetter.com
I hate Java, I really do
<Research>
A certain and definite article of which is a culmination
relating to a part that which is more whole between to the
individual of which you are listening to has researched
throughout a certain and definite article of which is days
Luaisbetter.com
I hate Java, I really do
Luaisbetter.com
I hate Java, I really do
/01
/Password
Entropy
Aka. Password Randomness
Luaisbetter.com
I hate Java, I really do
/Password Entropy
- (Noun) A measurement of a password’s randomness
E = log2(RL)
E > 72 is good 👍
Luaisbetter.com
I hate Java, I really do
/02
/Brute
Forcing
Aka. Every Possible Combination
Luaisbetter.com
I hate Java, I really do
/Brute Forcing
/03
/Code Hashing
Aka. Converting Strings
Luaisbetter.com
I hate Java, I really do
/Code Hashing
// Reference: (freeCodeCamp.org, What is hashing? how hash codes work - with examples 2021) Luaisbetter.com
I hate Java, I really do
/04
/Implementation
How to make a good password :)
Luaisbetter.com
I hate Java, I really do
Luaisbetter.com
I hate Java, I really do
Luaisbetter.com
I hate Java, I really do
/How I
Implement codes
Luaisbetter.com
I hate Java, I really do
<Entropy>
How I use Entropy
Luaisbetter.com
I hate Java, I really do
Luaisbetter.com
I hate Java, I really do
4 types of characters:
1. Lowercase Characters 26 letters
2. Uppercase Characters 26 letters Other initialized variables
3. Symbols 34 symbols
4. Numbers 10 numbers
// Reference: https://medium.com/asecuritysite-when-bob-met-alice/password-entropy-826b3be47261
Luaisbetter.com
I hate Java, I really do
“A good entropy can shrink and grow” - Mozart
Sort through the password one by one for each of the boolean variables
Luaisbetter.com
I hate Java, I really do
“A good entropy can shrink and grow” - Mozart
Luaisbetter.com
I hate Java, I really do
“A good entropy can shrink and grow” - Mozart
Luaisbetter.com
I hate Java, I really do
<MY LOOP>
Luaisbetter.com
I hate Java, I really do
I:
- Set up a while (true) loop
- Break the loop whenever the password doesn’t
meet one of my requirements
Luaisbetter.com
I hate Java, I really do
Why?
Luaisbetter.com
I hate Java, I really do
/My Criterias
Luaisbetter.com
I hate Java, I really do
Luaisbetter.com
I hate Java, I really do
Luaisbetter.com
I hate Java, I really do
<NO SPACES>
Luaisbetter.com
I hate Java, I really do
/No Spaces
I want to make my life easier (no space bar in password)
Luaisbetter.com
I hate Java, I really do
Mr. Task
/Is it a common
password?
Thank you Mr.Task for the code :D
Luaisbetter.com
I hate Java, I really do
/Common Password
Changes:
- Return boolean (for ease of use)
- Name Change
- Longer List (999,999 words)
Luaisbetter.com
I hate Java, I really do
Opal
/Is it a common
password 2.0?
No substitutions
Luaisbetter.com
I hate Java, I really do
Example/
- p@ssw0rd
- $uperun!dentifi@ble
- Etc.
Luaisbetter.com
I hate Java, I really do
/*
I made another string that substitutes any
special characters (I only included a few tho)
*/
Luaisbetter.com
I hate Java, I really do
Opal
/All Characters?
Luaisbetter.com
I hate Java, I really do
Luaisbetter.com
I hate Java, I really do
Luaisbetter.com
I hate Java, I really do
Luaisbetter.com
I hate Java, I really do
Opal
/Entropy
High enough?
Luaisbetter.com
I hate Java, I really do
We already went through this
Since you get disqualified for not having every type of character, only
length affects the entropy.
Luaisbetter.com
I hate Java, I really do
/Entropy
Luaisbetter.com
I hate Java, I really do
Opal
/Repetition
Luaisbetter.com
I hate Java, I really do
/Repetition
Luaisbetter.com
I hate Java, I really do
/Repetition
Luaisbetter.com
I hate Java, I really do
Opal
/That’s it
Luaisbetter.com
I hate Java, I really do
/That’s it
Luaisbetter.com
I hate Java, I really do
<Draft 1>
Experimenting with types of characters
<Draft 2>
Working with common passwords and entropy
<Draft 3>
Add specialized characters as substitution
and more
Luaisbetter.com
I hate Java, I really do
/Draft 1
Luaisbetter.com
I hate Java, I really do
/Draft 1
Use passConst to capture
character types (My first
hashcode implementation)
Ex/
Password = Mypass@123
passConst = ulllllsnnn
Luaisbetter.com
I hate Java, I really do
/Draft 1
Before: use types + After: Use specific
passConst characters
Luaisbetter.com
I hate Java, I really do
/Draft 2
Luaisbetter.com
I hate Java, I really do
/Draft 2
First Entropy Calc Prototype
- Entropy is dynamic (doesn’t change with character types)
- Every possible character is 171 (fixed number)
Luaisbetter.com
I hate Java, I really do
/Draft 3
Specialized Characters
Luaisbetter.com
I hate Java, I really do
/Draft 3
Repeated Characters (Draft 2)
Luaisbetter.com
I hate Java, I really do
/Sources
Entropy
OBE, P. B. B. (2021, November 14). Password entropy. Medium.
Retrieved December 4, 2022, from
https://medium.com/asecuritysite-when-bob-met-alice/password-entr
opy-826b3be47261
Brute Forcing
Blocking brute force attacks. Blocking Brute Force Attacks |
OWASP Foundation. (n.d.). Retrieved December 4, 2022, from
https://owasp.org/www-community/controls/Blocking_Brute_Force_Att
acks#:~:text=A%20brute%2Dforce%20attack%20is,for%20a%20brute%2Dfo
rce%20attack
Luaisbetter.com
I hate Java, I really do
/Sources
Code Hashing
freeCodeCamp.org. (2021, April 28). What is hashing? how hash
codes work - with examples. freeCodeCamp.org. Retrieved December
4, 2022, from https://www.freecodecamp.org/news/what-is-hashing/
Implementation
R/youshouldknow - YSK: Password best practices. reddit. (n.d.).
Retrieved December 4, 2022, from
https://www.reddit.com/r/YouShouldKnow/comments/gzq3bq/ysk_passwo
rd_best_practices/
Luaisbetter.com
I hate Java, I really do
<THE END>
Questions?
Go to IHATEJAVA.COM
Luaisbetter.com