Skip to content

feat: add SHA-3 (Keccak) hashing support (#2) - #45

Closed
saurav-codes wants to merge 2 commits into
amithmandassociates-oss:mainfrom
saurav-codes:feat/sha3-keccak-support
Closed

feat: add SHA-3 (Keccak) hashing support (#2)#45
saurav-codes wants to merge 2 commits into
amithmandassociates-oss:mainfrom
saurav-codes:feat/sha3-keccak-support

Conversation

@saurav-codes

Copy link
Copy Markdown

/claim #2

Adds SHA-3 column via the existing CryptoJS dependency (CryptoJS.SHA3, 256-bit). Included in CSV, PDF, and Word exports. Adds an on-page System Console that logs each SHA-3 calculation, as requested in the issue.

CryptoJS.SHA3 returns Keccak padding, not the NIST SHA-3 standard. Swap to
js-sha3 (CDN) so the empty string hashes to
a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a on both the
table and exported PDF.
@saurav-codes

Copy link
Copy Markdown
Author

Review was right: CryptoJS.SHA3 returns Keccak padding, not the NIST SHA-3 standard. I swapped it for js-sha3 (sha3_256) over CDN and named the column plain SHA-3. Checked in a node:24 container: empty input hashes to a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a, and the inline script still parses cleanly. Commit is signed and pushed.

@saurav-codes saurav-codes closed this by deleting the head repository Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant