Truncator: Time-space Tradeoff of Cryptographic Primitives
Proposes brute-force mining of cryptographic outputs so hashes and signatures fit in fewer bytes, with the omitted bytes implied by system parameters; compression cost is paid by the sender.
Schemes: hash-based signatures, SHA-style hash digests
Findings (quotes checked against the source text)
-
Mining-based brute-force search can make hash digests and signatures 5%-12% shorter with commodity hardware, without loss of security.
we show that 5%-12% shorter hash digests and signatures are practically feasible even with commodity hardware.
-
Compression cost is paid only once by the sender, while the whole ecosystem benefits from smaller transactions.
this cost is only paid at the source (i.e. in blockchains, senders are rewarded by lowered transaction fees), and the benefits of the compression are enjoyed by the whole ecosystem.
-
Shorter hash-based signatures are among the cases where wise mining needs proportionally less effort than naive brute force.
shorter hash-based signatures being one of the best examples.
-
Smart contract gas fees can drop by up to 83.21% at under 4 seconds of single-core computation.
we showcase how our technique can achieve up to 83.21% reduction in smart contract gas fees at a cost of less than 4 seconds of computation on a single core.
Numbers (as extracted, not quote-checked)
- Hash digest and signature size reduction: 5%-12%
- Smart contract gas fee reduction (max): 83.21%
- Computation cost on a single core: less than 4 seconds
For builders
Consider sender-side mining to shave bytes off PQ signatures or addresses on chain, since verifiers reconstruct the omitted fixed bytes from system parameters.
Limits
Based on the ePrint abstract only; full text not reviewed. Gains are modest (5%-12%) and the security argument rests on a bit-security framework the abstract does not detail.
Topics: hash-functions sig-hash-based chain-design benchmarks bitcoin-migration ethereum-migration