diff --git a/src/App.js b/src/App.js index 9620204..fca2e71 100644 --- a/src/App.js +++ b/src/App.js @@ -68,8 +68,8 @@ function DetailedExplainer({ phase, paddingStep, digestStep, currentWIndex, curr
Message: "{input}"
Characters: {input.length}
-
Bits per char: 8
-
Total bits: {input.length} × 8 = {inputLength}
+
Bits per char: {inputLength/input.length}
+
Total bits: {input.length} × {inputLength/input.length} = {inputLength}
Convert {inputLength} to 64-bit binary: