Raw performance: RPF beats Karatsuba in execution time and scales better with input size. With GMP enhancements: Even after both are optimized with GMP, RPF still maintains a performance edge. Better than FFT for mid-size inputs: Up to 800 digits, RPF is also faster than FFT-based multiplication, which usually kicks in beyond this range.
I’ve attached benchmark charts and comparisons here:
-https://drive.google.com/file/d/1aZ-JR0Oq5KnY4xKd2tAPEvr1wFPowhSt/view?usp=drive_link
This has applications in:Cryptography (modular exponentiation)
Blockchain & ZK systems
Financial simulations
Any compute-heavy big-number operations
I’ve filed a provisional patent and I’m looking to either license the algorithm, collaborate, or sell the IP outright.
Would love feedback from devs, researchers, and cryptographers here! Also happy to talk if you work on libraries like GMP, OpenSSL, Java BigInteger, Libgcrypt, etc.
Thanks! —Krishil Sheth -krishilsheth@gmail.com -+91 9372677245