crypto: Add pq1 post-quantum hybrid address (Schnorr + Falcon-1024) #35566

pull primordialomegazero wants to merge 1 commits into bitcoin:master from primordialomegazero:pq1-hybrid-address changing 17 files +350 −7
  1. primordialomegazero commented at 8:00 AM on June 19, 2026: none

    Adds pq1... Bech32m address type for post-quantum hybrid signatures.

    Technical Details

    • Witness version: 2, 1825B program (32B Schnorr + 1793B Falcon-1024)
    • Falcon-1024: Real liboqs integration — keygen, sign, verify
    • SHRINCS: Hash-based signatures (580B compact mode)
    • Hybrid verify: BIP 340 Schnorr via secp256k1 + Falcon-1024 via liboqs
    • Encoding: Bech32m with pq1 HRP

    Security

    Layer Algorithm Security
    Classical Schnorr secp256k1 128-bit
    Post-Quantum Falcon-1024 230-bit (NIST Level 5)

    Tests (5 cases)

    • Falcon-1024 keygen/sign/verify with wrong key/message rejection
    • SHRINCS hash chain verification
    • PQ signature auto-routing
    • pq1 address encoding format
    • Hybrid composite signature structure

    Dependencies

    • liboqs 0.15.0+ for Falcon-1024
    • secp256k1 Schnorr module (already default)
  2. crypto: Add pq1 post-quantum hybrid address (Schnorr + Falcon-1024)
    Adds pq1... Bech32m address type for Schnorr (BIP 340) + Falcon-1024
    (NIST FIPS 204 Level 5) hybrid post-quantum signatures.
    
    - Witness v2, 1825B program (32B Schnorr + 1793B Falcon-1024)
    - Real Falcon-1024 via liboqs: keygen, sign, verify
    - SHRINCS hash-based signatures (580B compact mode)
    - Hybrid Schnorr+PQ composite verification
    - 5 unit tests, full documentation
    - Bech32m encoding with 'pq1' HRP prefix
    e1cd4c1292
  3. DrahtBot added the label Utils/log/libs on Jun 19, 2026
  4. DrahtBot commented at 8:00 AM on June 19, 2026: contributor

    ♻️ Automatically closing for now based on heuristics. Please leave a comment, if this was erroneous. Generally, please focus on creating high-quality, original content that demonstrates a clear understanding of the project's requirements and goals.

    📝 Moderators: If this is spam, please replace the title with ., so that the thread does not appear in search results.

  5. DrahtBot closed this on Jun 19, 2026

  6. DrahtBot commented at 8:00 AM on June 19, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35566.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

    LLM Linter (✨ experimental)

    Possible typos and grammar issues:

    • SHRINCS -> SPHINCS [likely misspelled in comments/docs; the intended hash-based signature scheme appears to be SPHINCS+]

    <sup>2026-06-19 08:00:31</sup>


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-06-20 23:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me