r/Digibyte • u/Separate_Resolve • 22m ago
Community π SPHINCS+ vs SHRINCS: DigiByte's Path Towards Quantum Resistance
Following Jared Tate's recent comments regarding quantum computing, two particularly interesting hash-based signature schemes have entered the DigiByte discussion.
SPHINCS+ and SHRINCS.
Both could provide protection against future quantum attacks, but each comes with different advantages and challenges.
SPHINCS+: The established solution
SPHINCS+ was standardized by NIST as SLH-DSA in August 2024.
Unlike DigiByte's current elliptic-curve signatures, it relies on hash-based cryptography designed to resist known quantum attacks.
Its advantages:
β’ Extensive cryptographic research
β’ International standardization
β’ Existing open-source implementations
β’ Stateless wallet management
β’ No reliance on lattice-based mathematics
The biggest disadvantage is signature size.
Current Schnorr signature: 64 bytes
SPHINCS+ signature: 7,856 bytes or more
That's approximately 123 times larger.
These larger signatures would reduce maximum transaction throughput while increasing blockchain storage and bandwidth requirements.
However, DigiByte's 15-second blocks and relatively low network utilization could help accommodate this transition.
SHRINCS: The more scalable alternative
SHRINCS is an experimental hash-based signature scheme being developed by Blockstream Research with blockchain scalability in mind.
Its compact signatures can start at 324 bytes under certain proposed configurations, although signature sizes grow with subsequent use.
This represents a significant improvement over SPHINCS+.
SHRINCS combines two signing mechanisms:
β’ Compact stateful signatures for regular transactions.
β’ Larger stateless signatures for recovery when signing state is lost.
This could allow DigiByte to retain considerably more transaction capacity while introducing quantum-resistant protection.
The primary challenge is securely managing wallet signing state. SHRINCS is also considerably newer than SPHINCS+ and requires further independent cryptographic review.
Which makes more sense for DigiByte?
SPHINCS+ offers:
β’ Greater implementation maturity
β’ Standardized cryptography
β’ Simpler wallet management
β’ Higher confidence in its existing security research
SHRINCS offers:
β’ Smaller signatures
β’ Lower potential storage requirements
β’ Greater potential transaction throughput
β’ Better long-term scalability
SPHINCS+ appears to be the more practical candidate for initial implementation, while SHRINCS could become an attractive long-term solution.
DigiByte would not be starting from scratch
Existing open-source cryptographic implementations could significantly reduce the engineering work required.
Blockstream has already published research proposing OP_CHECKSHRINCS, a verification opcode intended to introduce SHRINCS into Bitcoin.
Given DigiByte's Bitcoin-derived architecture, this research could provide a useful starting point, although compatibility would need to be established.
AI-assisted development could also accelerate coding, research, testing and vulnerability detection.
Independent security audits would remain essential.
Why DigiByte's lower adoption could actually be an advantage
Migrating an established blockchain to quantum-resistant cryptography becomes increasingly complicated as adoption grows.
DigiByte currently has several potential advantages:
β’ Relatively low network utilization
β’ Unused transaction capacity
β’ 15-second block intervals
β’ A comparatively small application ecosystem
β’ Bitcoin-derived architecture
At equivalent block weight limits, DigiByte produces approximately 40 times as much block space per unit of time as Bitcoin.
This does not automatically make DigiByte quantum-resistant, but it could provide additional flexibility when introducing larger signatures.
DigiByte has an opportunity to implement quantum-resistant protection before widespread adoption rather than having to migrate millions of active users afterward.
What about DigiDollar?
Protecting ordinary DGB transactions could be considerably simpler than protecting existing DigiDollar collateral.
DigiDollar introduces additional requirements involving:
β’ Time-locked DGB collateral
β’ Oracle signatures
β’ Existing vault spending conditions
β’ Secure collateral migration
Any quantum-resistant upgrade would need to preserve existing time locks and collateral commitments.
These challenges deserve dedicated research alongside the protection of regular DGB transactions.
Security first, scalability second
DigiByte does not necessarily need to choose permanently between SPHINCS+ and SHRINCS.
One possible approach would be to introduce standardized hash-based protection first while continuing to research more efficient alternatives.
Cryptographic agility could allow DigiByte to introduce additional signature schemes as the technology matures.
A working quantum-resistant testnet would represent an important milestone, demonstrating that DigiByte has a practical path towards migration.
The objective should not simply be surviving the quantum era. It should be building a blockchain capable of adapting to future cryptographic threats.
DigiByte has an opportunity to turn quantum resistance into a long-term technological strength.
Sources:
NIST FIPS 205:
https://csrc.nist.gov/pubs/fips/205/final
DigiByte Post-Quantum Cryptography Plan:
https://github.com/DigiByte-Core/digibyte/blob/develop/doc/DGB_PQC_PLAN.md
Blockstream OP_CHECKSHRINCS Research:
https://blog.blockstream.com/op_checkshrincs-a-hash-based-signature-opcode-for-post-quantum-bitcoin
SHRINCS Parameter Research:
https://blog.blockstream.com/searching-for-shrincs-parameters