From e60c4dd6d80c64907de72a19caae1f926af2e9be Mon Sep 17 00:00:00 2001 From: MixtapeXD <46252377+AlecMcCutcheon@users.noreply.github.com> Date: Mon, 23 Nov 2020 21:32:38 -0500 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cec2ba6..02cd313 100644 --- a/README.md +++ b/README.md @@ -16,13 +16,13 @@ and a symbol character set size of 32. * GRC's algorithm is: -The characters, length, and staticcurrentlength are all dynamic variables pulled from the current password. length and staticcurrentlength are pulled from the same place but only length is manipulated by the function and staticcurrentlength preserves the current input length so it can be used in the calculation. +The characters, length, and currentlength are all dynamic variables pulled from the current password. length and currentlength are pulled from the same place but only length is manipulated by the function and currentlength preserves the current input length so it can be used in the calculation. ```javascript Var characters = 10; Var length = 5; -Var staticcurrentlength = 5; +Var currentlength = 5; function GRC(length) { @@ -32,7 +32,7 @@ function GRC(length) } if (length == 1) { - return Math.pow(characters, staticcurrentlength); + return Math.pow(characters, currentlength); } return Math.pow(characters, length - 1) + GRC(length - 1); }