From 66a950a4219f1ced432559c70fdbc785dc183e03 Mon Sep 17 00:00:00 2001 From: Carlo van Wyk <5310264+thecarlo@users.noreply.github.com> Date: Tue, 30 Apr 2024 11:32:44 +1000 Subject: [PATCH] Updated estimateCrackTime --- src/functions/crackTimes/estimateCrackTime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions/crackTimes/estimateCrackTime.ts b/src/functions/crackTimes/estimateCrackTime.ts index 79f4882..1759c94 100644 --- a/src/functions/crackTimes/estimateCrackTime.ts +++ b/src/functions/crackTimes/estimateCrackTime.ts @@ -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];