Yep, there'd be a mad dash to make new keys and update software, but most of those can be updated quickly. If we ran out of "all presumed-hard math" and public-key cryptography died, you could still do 1-to-1 via enormous one-time pads. That's a few orders of magnitude less likely than what I was contemplating though.
Assuming there's still math to switch to, would cryptocurrencies survive the transition?