Payments on the edge of a cryptographic revolution?

For several years, the global payments and Public Key Infrastructure (PKI) industries have been working towards making their systems resilient to quantum computing. Financial institutions, payment schemes and technology providers have been preparing to transition to post-quantum cryptographic algorithms. However, recent developments in artificial intelligence may compel us to ask a more fundamental question: what if quantum computing is not the greatest threat to modern cryptography?
If you work in payments or any serious form of security-critical systems development, you understand just how much of our digital world’s sanity hangs in the balance of algorithms such as RSA, ECC and AES. These are the mechanisms that allow you to trust that amazon.com is indeed Amazon, that a payment instruction genuinely originates from your bank, and that a digital signature belongs to the entity it claims to represent. The security of these algorithms rests on assumptions about computational difficulty rather than absolute mathematical guarantees. RSA relies on the difficulty of integer factorization, while ECC relies on the difficulty of solving the elliptic curve discrete logarithm problem. Our confidence in these algorithms stems not from proof that these problems cannot be solved efficiently, but from decades of unsuccessful attempts to do so.
Recent developments in AI-assisted mathematical discovery, coupled with speculation surrounding the P versus NP problem, raise questions about the very notion of computational difficulty. While such speculation remains unverified, should AI fundamentally alter our understanding of which mathematical problems are computationally tractable, the resulting shocks could be unprecedented.
Bringing the discussion closer to Nepal’s payment ecosystem
Consider two of Nepal’s payment mechanisms: QR and card payments. When you scan a Fonepay or NEPALPAY QR code, asymmetric cryptography establishes trust, authenticates participating systems and enables secure communication sessions. Although symmetric cryptography protects the subsequent exchange of payment instructions, its security in conventional certificate-based communication depends on the underlying asymmetric authentication and key establishment mechanisms.
Card-based payments, on the other hand, have a more direct dependency on both forms of cryptography. While asymmetric cryptography enables card authentication, independently provisioned symmetric keys underpin transaction cryptogram generation, PIN protection and transaction authentication. This distinction is particularly important. A breakthrough against asymmetric cryptography could undermine the security of QR payment communications without necessarily breaking the symmetric algorithms protecting them. Card payments, meanwhile, retain certain independent layers of symmetric cryptographic security.
But what if the threat extends to symmetric cryptography itself? AES, widely regarded as resistant to known quantum attacks at appropriate key lengths, is not necessarily immune to fundamentally new mathematical discoveries. Similarly, post-quantum cryptographic algorithms rely on their own mathematical hardness assumptions.
Quantum resistance, therefore, should not be confused with resistance to mathematical breakthroughs. The implications of a sufficiently practical solution to P = NP could extend far beyond payments, challenging the very foundations of digital trust. Perhaps we are not even in a position to comprehend the magnitude of the shock such a breakthrough could unleash.
For now, let us hope — or perhaps pray — that P ≠ NP.