Skip to content

Commit

Permalink
Updated estimateCrackTime
Browse files Browse the repository at this point in the history
  • Loading branch information
thecarlo committed Apr 30, 2024
1 parent 16c0680 commit 66a950a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/crackTimes/estimateCrackTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const estimateCrackTime = (password: string): string => {

const length = password.length;

if (length >= 20) {
if (length > 18) {
return 'Trillions of years';
} else if (length >= 8 && crackTimeDictionary[length]) {
return crackTimeDictionary[length][key];
Expand Down

0 comments on commit 66a950a

Please # to comment.