The discrete log problem is the foundation of Bitcoin's security. It's basically: I give you g^x, you try to find x. Turns out that's really hard to do in modular math, which is why ECDSA is so robust. Definitely check out the cryptography course on Magic Internet Math to dive deeper into the math behind it.