feat: add SHA-3 hashing support, Excel export, and System Console (fixes #2) - #41
Open
iprasen wants to merge 1 commit into
Open
feat: add SHA-3 hashing support, Excel export, and System Console (fixes #2)#41iprasen wants to merge 1 commit into
iprasen wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/claim #2
Resolves #2
Summary of Changes
This PR implements full SHA-3 (FIPS 202 / 256-bit) cryptographic hashing support, client-side Excel (.xlsx) export, and an interactive on-page System Console log stream, while preserving 100% client-side privacy.
1. Cryptographic Hashing (SHA-3 / FIPS 202)
CryptoJS.SHA3(wordArray, { outputLength: 256 }).toString()to the evidence processing queue.calculateSHA3(file)helper utility returning a Promise for standalone export workflows.SHA-3 (FIPS 202 / 256-bit)and dynamic.sha3result cells.2. Multi-Format Export Support (CSV, Excel, PDF, Word)
xlsx.full.min.js) CDN and implementeddownloadSelectedExcel(), creating formatted multi-column spreadsheets with custom column auto-widths. Added the greenExcel Reportaction tile in the dashboard.generateHashPDF()andgenerateEmailReport()to include the SHA-3 hash in forensic report tables and evidence cover sheets.generateHashWord()table schema to include SHA-3 values.downloadSelectedCSV()to include SHA-3 hashes across both standard hash exports and email forensic reports.3. Real-Time System Console
#systemConsole) with timestamped output.Clear Logcontrol (clearConsole()).Verification & Testing
Validated locally across 35 automated checks: