Skip to content

Moved everything to SHA256#17

Merged
CEbbinghaus merged 3 commits intomasterfrom
feat/move-to-sha256
Apr 23, 2026
Merged

Moved everything to SHA256#17
CEbbinghaus merged 3 commits intomasterfrom
feat/move-to-sha256

Conversation

@CEbbinghaus
Copy link
Copy Markdown
Collaborator

@CEbbinghaus CEbbinghaus commented Apr 23, 2026

Finally taking the dip and moving the whole project to SHA256 given its more widespread Hardware acceleration and smaller hash size saving up to 1Mb in uncompressible data

Fixes: #15

I tested these changes by running index generations repeatedly and comparing the numbers:

==================================
SHA512 vs SHA256 Performance
==================================

SHA512:
  Runs:    17
  Average: 1.82705s

SHA256:
  Runs:    28
  Average: 0.728944s

==================================
Speedup: 2.50x faster
Improvement: 60.0% faster
==================================

@CEbbinghaus CEbbinghaus force-pushed the feat/move-to-sha256 branch from 0aeacda to c3c3856 Compare April 23, 2026 07:37
@CEbbinghaus CEbbinghaus merged commit 4e75301 into master Apr 23, 2026
3 checks passed
@CEbbinghaus CEbbinghaus deleted the feat/move-to-sha256 branch April 23, 2026 07:39
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.

Consider changing ARX from SHA2-512 to SHA2-256

1 participant