From e354f3e57e2b25836850e7c11a5e761db7528974 Mon Sep 17 00:00:00 2001 From: Justin Bollinger Date: Thu, 19 Mar 2026 15:02:42 -0400 Subject: [PATCH] fix: ngramX generates n-grams per line, not across entire corpus Previously ngramX.bin accumulated all words from the whole file into a flat array, producing candidates that crossed line boundaries. With a corpus of "roses are red\nviolets are blue", it generated "red violets" and "are red violets" - mixing lines that represent separate phrases. Fixes ngramX.c to process each line independently so n-grams stay within a single line, matching the expected behavior for song lyrics, book passages, and similar per-line corpora. --- hashcat-utils | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hashcat-utils b/hashcat-utils index 8bbf2ba..ee6833b 160000 --- a/hashcat-utils +++ b/hashcat-utils @@ -1 +1 @@ -Subproject commit 8bbf2baf7b341c8ec23ca91e44e0ac7d7fcc0355 +Subproject commit ee6833b34ef402705b85c818822c4598e2e8575f