Skip to content

feat(sha1): add midstate continuation - #71

Open
brenorb wants to merge 1 commit into
solving-bitcoin:mainfrom
brenorb:feat/sha1-midstate-boundary
Open

brenorb wants to merge 1 commit into
solving-bitcoin:mainfrom
brenorb:feat/sha1-midstate-boundary

Conversation

@brenorb

@brenorb brenorb commented Sep 11, 2026

Copy link
Copy Markdown

Summary

  • add a fixed 64-byte-prefix / 16-byte-suffix SHA-1 midstate continuation fragment
  • validate the independent compression oracle, standard digest, and exact suffix boundary
  • record the 209,619-byte metric in the README, comparison, and catalog

Validation

  • cargo test --locked hashes::sha1::tests -- --nocapture
  • python3 tools/kb.py validate
  • cargo test --locked --test primitive_metrics
  • cargo fmt --check
  • git diff --check

The full repository test suite was not run.

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